Comments (5)
Hi @mtucker502, I've not used grid myself. If this driver is registering your device correctly then it is doing its job, the interface you are using to publish data values is Victron's own dbus-mqtt interface.
Having said that, could the cause of your issue be the same as the one reported earlier this week, posting strings instead on numeric values? You have quotes around numeric values.
W/102c6b64af99/grid/1/Ac/L1/Voltage {"value": "120.2"}
W/102c6b64af99/grid/1/Ac/L2/Voltage {"value": "120.2"}
W/102c6b64af99/grid/1/Ac/L1/Current {"value": "11.98"}
W/102c6b64af99/grid/1/Ac/L2/Current {"value": "18.51"}
from dbus-mqtt-devices.
One more thing that looks a bit odd in your log file:
INFO:device_manager:**** Unregistering device ctsensor ****
Are you publishing data after the driver has stopped or been killed? I'm not sure how the dbus will behave if your device is not connected.
from dbus-mqtt-devices.
I had the pip install error earlier :)
This one though you were right on the money. I'm sending floats as strings. Is there a preferred method for decoding bytes from paho-mqtt into the proper type?
Currently I'm decoding as "utf-8" and for these sensor values then converting to floats. Example: sensor_value = float(message.payload.decode("UTF-8"))
from dbus-mqtt-devices.
I couldn't tell you. As far as I know you just need to ensure your numeric values are floats or integers.
from dbus-mqtt-devices.
As you found the problem was, can this issue be closed?
from dbus-mqtt-devices.
Related Issues (20)
- Victron Bus System Connection get lost when using dbus-mqtt-devices HOT 1
- Add AC Load energy meter HOT 3
- Different service weather forecast HOT 3
- Battery support HOT 5
- setup.sh: ModuleNotFoundError: No module named 'dataclasses' HOT 2
- PVinverter is shown as "Fronius" in VRM HOT 4
- Position move in Venus OS GUI HOT 1
- AC loads to position 0 instead of 1 in Venus OS GUI HOT 1
- New GUI-Beta requires Status DBus path for Temp sensors HOT 6
- Exception error during installation HOT 1
- Inverter is not showing Values in VRM HOT 10
- Ensure deviceId is passed to dbus as a int and not a string
- Resolve dataclasses dependency with python3-misc module
- Add Status attribute for Temperature dbus path HOT 5
- Problem sending values over MQTT from nodered [not original title] HOT 12
- setup.sh shoiuld check if there are existing entries in /data/rc.local HOT 2
- Energy Ac/L1/Energy/Reverse not working as expected HOT 1
- Update readme to explain you need to run setup.sh after a VenusOS
- Setup module dependecies on every reboot from /data/rc.local HOT 2
- Setup module dependecies on every reboot from /data/rc.local HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbus-mqtt-devices.