Closed mobilon0815 closed 1 year ago
thanks, didt you use the json style or the standart mqtt style? (in settings) please update first to the latest firmware. (not solve the problem, but some changes)
You have a thinking error there. Try it like this:
before:
after:
before:
after:
double check your topic string, you have BMS01//Dev...... but you need BMS01/Dev.....
I use json style
I will update now to 2.2.13 an check again...
checked again with BMS01/Device_Control/Pack_DischargeFET -> same
not quite sure at the moment because i never used json, but i think if you use json you also have to send a json object like
{Pack{ChargeFET:true}}
but dont nail me on that, i am unable to test that and even not sure if thats correct :)
updated to 2.2.13
nothing happens
nothing happens ???? "ChargeFET" is still true but "DischargeFET" too
in the style you try to manipulate the bms it will not work when json is active. the device controll path only active in classic mqtt. i will rework this, so please wait the next days for a fix. the json option switch will be removed.
downgraded to 2.2.11 and checked like in the brandnew wiki...(JSON...)
ChargeFET AND DischargeFET have gone from true to false.
{"Pack": {"DischargeFET": true}} brings DischargeFET back to true (ChargeFET still false)
If you publish without the outer brackets, only the ChargeFET changes (once to false) "Pack": {"DischargeFET": true}
let me repeat
wait for a fix
you can switch off the json in settings to use the device_control path
now with .14 fixed, use the topic paths descripted in the wiki like BMS01/Device_Control/Pack_DischargeFET
It doesn't matter which DataPoint I use, whether true, false or without a payload, /Device_Control or just / is also sufficient. As soon as I publish something to the topic (default BMS01), the "ChargeFET" goes to false.
checked with: /Device_Control/Pack_DischargeFET /Device_Control/Pack_DischargeFET:true /Device_Control/Pack_DischargeFET:false /Device_Control/Pack_ChargeFET /Device_Control/Pack_ChargeFET:true /Device_Control/Pack_ChargeFET:false /Device_Control/Relay:true /Device_Control /
There is no way to change this again with any publish.
**used Version: V2.2.11 used tool: MQTT-Explorer on WIN11 reproducible**
double checked with: MyMQTT V 2.2.3 on Android same behavior - reproducible
before clicking "Publish"
after clicking "Publish"