Comments (4)
with the updated 0.4.0.1 it works!
I replaced the portalID.
from dbus-mqtt-devices.
Without "grid" service it works on 0.4.0 but not on 0.4.0.1
I can't find something special in the services.yml.
0.4.0:
@4000000062476f8924c4fc9c INFO:device:Registering Service pvinverter for client a01
@4000000062476f8924cdf57c INFO:device_service_config:About to open config file
@4000000062476f89374446fc INFO:device_service:Registering service pvinverter for client a01 at path com.victronenergy.pvinverter.mqtt_a01_pv2
@4000000062476f8937f5ef74 INFO:settingsdevice:Setting /Settings/MqttDevices/mqtt_a01_pv2/CustomName does not exist yet or must be adjusted
@4000000062476f8a003f6484 INFO:settingsdevice:Setting /Settings/Devices/mqtt_a01_pv2/ClassAndVrmInstance does not exist yet or must be adjusted
@4000000062476f8a02c023c4 INFO:vedbus:registered ourselves on D-Bus as com.victronenergy.pvinverter.mqtt_a01_pv2
@4000000062476f8a0345de24 INFO:device_service:Registered Service com.victronenergy.pvinverter.mqtt_a01_pv2 under DeviceInstance 6
@4000000062476f8a036a0024 INFO:device_manager:publish {'portalId': '<id>', 'deviceInstance': {'t1': '5', 'pv1': '5', 'pv2': '6'}} to device/a01/DBus, status is 0
@4000000062476f8a03a7247c INFO:device_service:setting changed, setting: CustomName, old: PV Inverter MQTT, new: PV Inverter MQTT
@4000000062476f8a03b99724 INFO:device_service:setting changed, setting: CustomName, old: PV Inverter MQTT, new: PV Inverter MQTT
0.4.0.1:
@400000006247708a36cbdec4 INFO:device_manager:[Connected] Result code 0
@400000006247708f373913cc ERROR:mqtt_gobject_bridge:[Disconnected] Lost connection to broker
@400000006247708f3742bc74 INFO:mqtt_gobject_bridge:[Disconnected] Set timer
@400000006247709a22cf27dc *** CCGX booted (0) ***
@40000000624770a01b73ee64 *** starting dbus-mqtt-devices ***
@40000000624770b7207cc3cc -------- dbus_mqtt_devices, v0.4.1 is starting up --------
@40000000624770b7207ce6f4 INFO:logger:Loglevel set to INFO
@40000000624770b724aae4ec INFO:device_manager:Using portalId <id>
@40000000624770b724d1878c INFO:mqtt_gobject_bridge:[Init] Connecting to local broker
@40000000624770b72a6e155c INFO:device_manager:[Connected] Result code 0
@400000006247712709cca0fc INFO:device_manager:Received device status message {'clientId': 'a01', 'connected': 1, 'version': 'v1.0 ALPHA', 'services': {'t1': 'temperature', 'pv1': 'pvinverter', 'pv2': 'pvinverter'}}
@400000006247712709f0559c INFO:device:**** Registering device: a01, services: {'t1': 'temperature', 'pv1': 'pvinverter', 'pv2': 'pvinverter'} ****
@400000006247712709f8065c INFO:device:Registering Service temperature for client a01
@400000006247712709ffda44 INFO:device_service_config:About to open config file
@400000006247712722e455bc ERROR:device_service_config:Unexpected error: <class 'yaml.parser.ParserError'>
@40000000624771272351adec INFO:device_service:Registering service temperature for client a01 at path com.victronenergy.temperature.mqtt_a01_t1
@400000006247712725fa34c4 *** starting dbus-mqtt-devices ***
@40000000624771290c94c594 -------- dbus_mqtt_devices, v0.4.1 is starting up --------
@40000000624771290c94e0ec INFO:logger:Loglevel set to INFO
@40000000624771290d67e474 INFO:device_manager:Using portalId <id>
@40000000624771290d8d1bcc INFO:mqtt_gobject_bridge:[Init] Connecting to local broker
@40000000624771290fe6e27c INFO:device_manager:[Connected] Result code 0
from dbus-mqtt-devices.
Hi @stundenblume, As always, thanks for doing this.
Couple of observations,
- 0.4.0 didn't include grid in the services.yml file, there is a warning in the log file but then it looks like it crashed which is not good. I'll raise a separate issue for that.
- The services.yml file in 0.4.0.1 has a small formatting error so the parser errored. I just fixed the formatting error and pushed the change up to github. You can replace your version with this one.
https://raw.githubusercontent.com/freakent/dbus-mqtt-devices/main/services.yml
Out of interest, are you updating the logs to manually remove your portal id or is that not working on your system? :-)
from dbus-mqtt-devices.
Top tip, if there appears to be something not right with the services.yml go to http://www.yamllint.com/ and copy paste your entire services.yml file in the site and press Go. That's how I found the formatting error.
from dbus-mqtt-devices.
Related Issues (20)
- Display total solar is missing - Adding SMA Inverter HOT 4
- How to remove an old sensor from VRM Portal (online)? HOT 4
- Victron Wallbox support HOT 1
- Detect device failure HOT 3
- Q: will it future work with dbus-flashmq? HOT 23
- Installation error on CerboGX HOT 30
- Installation error on RPi HOT 4
- Rpi Install Error HOT 3
- Uninstall HOT 2
- Venus Os Crash after add a PV Inverter HOT 6
- I did the installation work around but still doesn't work HOT 14
- New Release: 0.7.5-beta HOT 36
- strings everywhere HOT 2
- null not "0" HOT 2
- Nodered Virtual sensor HOT 7
- 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
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.