SensebenderMicro sketch
-
Just a (very) minor thing. I noticed during conversion to v2 of a sketch based on the SensebenderMicro sketch that the sentence below does not conform to the logic between message types and presentation:
#ifdef BATT_SENSOR
gw.present(BATT_SENSOR, S_POWER);
#endifbut the message is defined as:
MyMessage msgBatt(BATT_SENSOR, V_VOLTAGE)
As S_POWER reference V_WATT and V_KWH presumably the S_POWER should be changed to S_MULTIMETER as this is the only item which refer to V_VOLTAGE. Or maybe another S type item is needed??
I am using OpenHab which ignores all these presentation items so I am not aware of how they actually work with a controller that uses them.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login