Receive Battery percentage via MQTT on OpenHab?
-
Hello
I'm trying to receive battery percentage over MQTT on openHab. So far i'm dont have any luck. I'm confused, because there is no such V_Battery or something like that.
I would really appreciate any help as i'm trying to finish my project before my final exam starts. :disappointed:
Here is my serial output. I was testing the battery sketch on Nano powerd via USB 5.0v. I know i'm getting incorrect reading, but thats okay for now, I just need to receive battery percentage via MQTT first.

-
Which MQTT gateway do you use?
Maybe in your gateway the battery percentage is not implemented.
See http://forum.mysensors.org/topic/524/mqtt-client-gateway/29
-
Which MQTT gateway do you use?
Maybe in your gateway the battery percentage is not implemented.
See http://forum.mysensors.org/topic/524/mqtt-client-gateway/29
-
The sketch you use doesn't support following internal messages:
- sketchinfo
- sketchversion
- time
- batterylevel
See link above...
-
The sketch you use doesn't support following internal messages:
- sketchinfo
- sketchversion
- time
- batterylevel
See link above...
@FotoFieber I followed the sketch that you provided in your link above called "MQTT Client Gateway". however, while compiling that sketch I'm getting following error?
Any solution or suggestion for that?
-
Please try this:
http://forum.mysensors.org/topic/524/mqtt-client-gateway/11
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