[APP][DEV][PRO] Octopus Energy Integration

Consequences - App Crashes

When I released V1.0.31 I accidentally left some test code in the App. This data would allow you to create Smart Energy Devices even though you don’t have an Intelligent Tariff and don’t have any Smart Devices. If you are an Intelligent Tariff customer you might have created devices that don’t really exist on your account.

The release of V1.0.33 has exposed the consequences of my error and the app is crashing for some of you as it tries to update a Smart Energy Device that doesn’t actually exist. You can stop this happening simply be deleting the device.

I have made a change in the code which means that, for most of you, the offending device will be marked UNAVAILABLE in Homey (a Red Triangle with an exclamation mark on the device). If you show the capabilities panel for the device there will be a message “bad device; please delete”. Please follow the suggestion!

I believe that at least one user who is affected by the problem is an Intelligent Tariff customer (maybe it’s you @SirSh0rty?). In this case I have hardened the code. The app should run normally but the erroneously created device will never update because it never receives any new data (because it doesn’t exist on the Octopus account).

Please look out for this circumstance and delete the offending device.

These changes will be published as V1.0.34

Please accept my apologies for the mess-up and its consequences.