So a plugin is now almost complete (need to add the UI for the Rate device selection from the Octopus plugin) but it is functioning. The excellent MQTT plugin does all of the heavy lifting, and this merely decodes the raw Smart Energy Protocol Zigbee data that is wrapped in JSON and sent via MQTT. At the moment it pulls the current instantaneous electricity load in W, monthly, weekly, daily usage for gas and electricity, gas and electricity meter reads and the supplier. The final thing I have just added is to pull in the current 30 minute rate from the Octopus plugin and calculate the hourly cost in pence per hour based on the current rate. Just as I did that the agile rate dropped to zero, so the "agile_cost_hour" is actually 0,even though I am pulling about 2kW now with the washing machine on., and it goes negative for much of the afternoon.
- Screenshot 2020-05-24 at 13.00.45.png (150.84 KiB) Viewed 2068 times
Unfortunately even though my switch happened yesterday, it takes two weeks to move onto Agile Tariff (they need to prove connectivity to your smart Meter)
I will get this polished and pushed out for anyone that is interested in getting the Hidebrand IHD/CAD for Smets 2, and I would be happy to work with someone who has a Smets 1 Meter and a Glowstick as the MQTT payload may be different.
Next is to enrich this with the API to see what else this may add and to investigate the API capability for the Octopus plugin now I have switched.
Plugin forum and GitHub link to follow.
Thanks,
Neil