epenet / hassresolvbus Goto Github PK
View Code? Open in Web Editor NEWResol Vbus sensor for home assistant
License: MIT License
Resol Vbus sensor for home assistant
License: MIT License
Hey,
i have tried to setup the Vbus custom component in my Hass but it keeps mentioning the Following. Im not getting any data out of the vbus, the entities are just showing "Unknown" and nothing happens. I Connected the vbus using a USB to RS485 adapter. may that be the issue why i am not getting any data? Or is it regarding the last Hass Update?
Logger: homeassistant.loader Source: loader.py:786 First occurred: 25. April 2021, 22:30:25 (1 occurrences) Last logged: 25. April 2021, 22:30:25 No 'version' key in the manifest file for custom integration 'resolvbus'. As of Home Assistant 2021.6, this integration will no longer be loaded. Please report this to the maintainer of 'resolvbus'
Now to figure out how to get a list of sensors/pumps etc. from the Resol device to buld the HASS config.
I used the examples you provided but I just get Temperature 1 None C and Pump 1 None%.
Originally posted by @craigueh in #3 (comment)
Hi,
Firtst of all thanks for providing an entry point to grab the vbus data of my solar system.
I tried to get it running on Home Assistant 2021.12.7, but it looks like the yaml syntax is outdated and the manifest is missing the version field.
After i added the version to the manifest file i am somehow stuck.
Would it be possible for you to push an updated version?
I tried to update the syntax myself, but i struggle a lot with the docu.
This ist error message is see when i run the config check: -> "Konfiguration fehlerhaft"
Invalid config for [sensor.resolvbus]: [device] is an invalid option for [sensor.resolvbus]. Check: sensor.resolvbus->device. (See ?, line ?).
And this is the Logs Report:
2021-12-30 20:23:34 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration resolvbus which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-12-30 20:38:07 WARNING (SyncWorker_4) [mysensors.persistence] File does not exist or is not readable: /config/mysensors_f42ba0d2ebfad6f5e734e63f5f258913.json
2021-12-30 20:38:07 WARNING (SyncWorker_4) [mysensors.persistence] Trying backup file: /config/mysensors_f42ba0d2ebfad6f5e734e63f5f258913.json.bak
2021-12-30 20:38:07 WARNING (SyncWorker_4) [mysensors.persistence] File does not exist or is not readable: /config/mysensors_f42ba0d2ebfad6f5e734e63f5f258913.json.bak
2021-12-30 20:38:07 WARNING (SyncWorker_4) [mysensors.persistence] Failed to load sensors from file: /config/mysensors_f42ba0d2ebfad6f5e734e63f5f258913.json
In HASS I'm seeing the following error when trying to validate the config.
Invalid config for [sensor.resolvbus]: [ttyPort] is an invalid option for [sensor.resolvbus]. Check: sensor.resolvbus->ttyPort.
I checked under HASS.io System and can see /dev/ttyUSB0 listed.
Any ideas?
Hi,
I have a Solar installation from Sonnenkraft, with a SKSC2He. I have not found substantial differences between SKSC2 and SKSC2HE.
The question is that I have followed the issues and in #6 you mention an python script to test it. I have followed that script and changes to my values (I guess): "b'\x10\x00\x11\x42'" and the correect ttyXXX, and the configuration data.
However, the test report no results. Connected to /dev/ttyACM0 nothing more.
I have the same device that you mentioned. In my raspberry with a Debian 11 it is showed as (1fef:2018).
Thanks.
Does this work with the Oranier Aquacontrol III, and with gpio pin do i need to use from the raspberry pi 4?
Hi, I have a DL2 running v2 software and using vbus.net to create a web page and right now I'm embedding that in an iframe to display within HASS, however I would like to move away from this and capture the sensor values into HASS.
It looks like you've done some great work, but is there a simple way of adapting your code to pull the data directly from the DL-2 via the LAN interface?
I note work has been done with Node-Red, I am also running Node-Red, so this could be an approach too I guess.
I made one other modification, changed the folder name to resolvbus and the file to sensor.py as pert he error log instruction reflecting recent changes to add-on folders (I'm running 0.91.4) - see below picture.
https://www.npmjs.com/package/resol-vbus
Any ideas/suggestions would be welcome.
Here is my configuration, My unit is a BS 2009, the sensors show, but do not update. I have a DL/2 on V2.2.2 s/w (latest)
sensor:
- platform: resolvbus
name: MyResol
#ttyPort: /dev/ttyUSB0
host: '192.168.0.248'
password: 'password'
channel: 1
filterSource: 0x427B
filterDestination: 0x0010
filterCommand: 0x0100
attributes:
- name: temperature_sensor_1
offset: 0
size: 2
factor: 0.1
type: temperature
- name: temperature_sensor_2
offset: 2
size: 2
factor: 0.1
type: temperature
- name: temperature_sensor_3
offset: 4
size: 2
factor: 0.1
type: temperature
- name: temperature_sensor_4
offset: 6
size: 2
factor: 0.1
type: temperature
- name: system_time
offset: 22
size: 2
type: time
- name: pump_speed_relay_1
offset: 8
size: 1
- platform: template
sensors:
myresol_temperature1:
value_template: '{{ state_attr("sensor.myresol" , "temperature_sensor_1") }}'
friendly_name: "Temperature 1"
unit_of_measurement: '°C'
- platform: template
sensors:
myresol_temperature2:
value_template: '{{ state_attr("sensor.myresol" , "temperature_sensor_2") }}'
friendly_name: "Temperature 2"
unit_of_measurement: '°C'
- platform: template
sensors:
myresol_temperature3:
value_template: '{{ state_attr("sensor.myresol" , "temperature_sensor_3") }}'
friendly_name: "Temperature 3"
unit_of_measurement: '°C'
- platform: template
sensors:
myresol_temperature4:
value_template: '{{ state_attr("sensor.myresol" , "temperature_sensor_4") }}'
friendly_name: "Temperature 4"
unit_of_measurement: '°C'
- platform: template
sensors:
myresol1_pump1:
value_template: '{{ state_attr("sensor.myresol" , "pump_speed_relay_1") }}'
friendly_name: "Pump 1"
unit_of_measurement: '%'
- platform: template
sensors:
myresol1_time:
value_template: '{{ state_attr("sensor.myresol" , "system_time") }}'
friendly_name: "Time"
<img width="1020" alt="Screenshot 2019-04-23 at 01 01 58" src="https://user-images.githubusercontent.com/35895759/56541377-74f6a680-6563-11e9-92dc-fe4416b69a0c.png">
best regards,
Justin.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.