Comments (7)
Correct. By default the auto-discovery will create readonly entities. You can override this by providing in the ebusd-addon-configuration for the field "Add variable(s) to the read MQTT integration settings." (optional fields) the value: filter-direction=r\|u\|^w
. This should make some of your entities writable although this depends on the definition-file of your ebus-device. I placed a comment about on this GitHub-issue: john30/ebusd#1038
My ebus-device also has the same field. In mqtt-explorer i can see the auto-discovery definition:
{
"unique_id": "ebusd_bai_StorageTempDesired_temp",
"name": "ebusd bai StorageTempDesired temp",
"device": {
"identifiers": "ebusd_bai",
"manufacturer": "ebusd.eu",
"name": "ebusd bai",
"via_device": "ebusd",
"sw_version": "23.2",
"suggested_area": "CV-Hok"
},
"value_template": "{{value_json[\"temp\"].value}}",
"state_topic": "ebusd/bai/StorageTempDesired",
"unit_of_measurement": "°C",
"state_class": "measurement",
"device_class": "temperature"
}
Looking at this i suspect that you should be using:
service: mqtt.publish
data:
topic: ebusd/hwc/StorageTempDesired/set
payload: { "temp": { "value" : 45 } }
Minor update.. I just saw this field was pushed in mqtt-explorer with payload:
{
"temp": {"value": 47.00}
}
Hope it helps! Be careful with changing random parameters of your ebus-device. This as you might cause things to get out-of-spec and cause issues like over-pressure, legionella, etc.
from ha-addons.
hi, thanks for your ticket.
it appears the addon is running correctly as MQTT and Config setup are done entirely by the ebusd code. please see that repository.
it might be that writing is not enabled for these values? this is setup in the config.
from ha-addons.
@GrumpyMeow thanks for the information, highly recommended!! For the ebusd variable, filter-direction=r|u|w
worked well for me (entered it via the plugin config UI). After that, MQTT got new entities, which starts now with number
instead of sensor
which makes sense of course, e.g.:
- now avail. via:
number.ebusd_ctlv_ebusd_ctlv_hc1minflowtempdesired_tempv
- previously:
sensor.ebusd_ctlv_hc1minflowtempdesired_tempv
This can be changed with mqtt.publish
service, as you've showed above.
In addition after adding these number.*
entities as a tile, most of it works nicely.
Only the hc1heatcurve
and z1actualroomtempdesired
entities doesn't change the properties and are switched to the previous value which is configured in the heat configuration. Any ideas?
r;w,,Hc1heatCurve,Heat Curve for Heat Cycle 1,,,,0F00,,,EXP,,,heating curve of HC1
r;w,,z1ActualRoomTempDesired,RoomSetpoint Zone 1,,,,1400,,,tempv,,,curren room setpoint
from ha-addons.
@citoki could you post the YAML for your ebusd integration via the addon ?
Thanks
from ha-addons.
@vbueschken here you go: I'm currently using the config from PR370
scanconfig: true
loglevel_all: notice
mqtttopic: ebusd
mqttint: /etc/ebusd/mqtt-hassio.cfg
mqttjson: true
network_device: enh:192.168.1.53:9999
accesslevel: "\"*\""
configpath: /config/ebusd-custom-configs/rmalbrecht-ebusd-configuration/ebusd-2.1.x/de
mqttvar: filter-direction=r|u|w
from ha-addons.
Thanks @citoki
I'm a bit confused about the value for filter-direction
- you are using: "r|u|w"
- GrumpxMeow used. "r|u|^w"
- on some Pages from John30 I found: "r|u|^w"
so I'm not sure, what is the right configuration
from ha-addons.
@vbueschken during my short tests, I couldn't get it working with the ^
sign. Maybe the version by @john30 is working as well, as I think the escape backslashes aren't needed within this add-on here. Maybe the filter-direction string is being parsed as regex, but couldn't see it actually in the code: https://github.com/john30/ebusd/blob/38a6b7bae9237d02c6c82b55aa377a17090dc421/src/ebusd/mqtthandler.cpp#L734
If it's being parsed as a regex string, then the ^
doesn't makes sense to me, as it refers to the very first char in an CSV config file (when multiline isn't active). Usually, the config files have r;w,,
as a starting line, which then wouldn't be fetched:
Thus, to anser your question try Johns or my value ¯_(ツ)_/¯
from ha-addons.
Related Issues (20)
- how see the full ebusd log ? HOT 6
- Add-On is not installing HOT 13
- Log to external file HOT 1
- How to use ebus-commands HOT 1
- Two eBus adapters v3 on one ebusd add-on with HAOS HOT 2
- Newbie wont manage the setup HOT 2
- Error messages since update to version: 23.2.4 HOT 3
- Issue since upgrade to 23.2.4 HOT 19
- Any chance to test some writing to ebus using your integration? HOT 1
- Request data more often?
- no logging "No systemd-journal-gatewayd Unix socket available" HOT 2
- seems not all parameters are there HOT 5
- Stuck in **starting** state again HOT 2
- Missing MQTT parameters HOT 1
- EXP type controls disappear in version 23.2.3 HOT 1
- New version 23.3 HOT 10
- Version for ebusd ebusd-23.3 HOT 1
- Configuration file used HOT 5
- Ebusd update HOT 1
- how update ebusd in HA to 23.3 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 ha-addons.