Month: October 2016

  • When Function App updates won’t save…

    I accidentally deployed a dodgy bit of code to one of my function apps. Then, even when I tried to revert to a “known good” version of my code via the GUI, it still didn’t work. No matter what I did, I kept getting the dreaded “Compilation Failed” error – but there was no more information. No…

  • National Rail LDBWS to Twitter

    I’ve been playing around with my Nextion and a Particle Photon for a while. The idea is to pull data from a variety of services and have it available on a display by the front door – things like the weather, the outside temperature (from my Netatmo), and the next 3 trains to Seven Sisters from our station.…

  • missing dependencies Microsoft.CodeAnalysis.CSharp.Scripting

    While trying to install the C# scripting package Microsoft.CodeAnalysis.CSharp.Scripting from nuget, but was getting odd messages about missing dependencies. I spent ages trying to figure it out as all the dependency versions appeared to match (e.g. however, eventually I discovered that you neeed .NET 4.6. Doh!

  • Logic Apps are so expensive!!

    I started writing EnfieldTownBot using Azure Logic Apps. It’s pretty easy, but i soon hit a challenge – it’s so expensive! My app was pretty simple – a trigger, a “for…each”, a condition and a http callout to my Twitter Poster Function App: So – if there are no delays, that’s (recurrence + httprequest + foreach + 3 x…

  • Quick and easy way to tweet from a function app

    After my last post, I spent some time looking through this. Eventually, I found a really lightweight class which does what i need. After spending some time adding some error handling to the api.request() method, I then wrapped a webrequest around it and created a function app. You can find it here: https://github.com/mnbf9rca/TwitterFunctionApp the app takes a simple JSON:…

  • BMW API now requires location, no bypass available

    Earlier this year, we got a new car, a BMW 3 series. It came subscribed to the BMW ConnectedDrive service, and that comes with an iPhone or Android app. So, of course, I immediately set about deconstructing the traffic to figure out what was going on, inspired by the work of Terence Eden. Unfortunately, BMW appears…