You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @ Proddy,
thank you.
iobroker/ems-esp plugin uses a lot of stuff like true|false, 0|1 "true"|"false". It also knows about booleans and enumerations.
But on top I also have some homewritten scripts (curl to api) in simple tcl or shell, where I use regex to fetch the "true" state.
It was a little bit confusing for me, that the "format" option for booleans are for both dashboard AND api, but the format for enumerations is ONLY for api. I see this as changing the format of both does only alter representation of boolenas in the dashboard AND api, but enumerations are allways shown as values in dashboard (whatever format enum option), but the api representation is changed accordingly.
So I think, there should be an explanation that the boolean option is for both, enum option only for api.
OR EVEN BETTER:
format option(s) for dashboard (maybe we never need dashboard ENUM format option), so only dashboard BOOLEAN format option,
AND both format options separately for api, BOOLEANs to satisfy domotiz with "1|0" and possible others with different format, and the ENUMS as "index" (for systems handling index of enums and values of enums) or "value" (mostly for dump display systems.
just my idea .....
and please fix this simple "wwstarts2" -> "dhw controls starts2" long name (as Michael has done it)
Hi @ Proddy,
thank you.
iobroker/ems-esp plugin uses a lot of stuff like true|false, 0|1 "true"|"false". It also knows about booleans and enumerations.
But on top I also have some homewritten scripts (curl to api) in simple tcl or shell, where I use regex to fetch the "true" state.
It was a little bit confusing for me, that the "format" option for booleans are for both dashboard AND api, but the format for enumerations is ONLY for api. I see this as changing the format of both does only alter representation of boolenas in the dashboard AND api, but enumerations are allways shown as values in dashboard (whatever format enum option), but the api representation is changed accordingly.
So I think, there should be an explanation that the boolean option is for both, enum option only for api.
OR EVEN BETTER:
format option(s) for dashboard (maybe we never need dashboard ENUM format option), so only dashboard BOOLEAN format option,
AND both format options separately for api, BOOLEANs to satisfy domotiz with "1|0" and possible others with different format, and the ENUMS as "index" (for systems handling index of enums and values of enums) or "value" (mostly for dump display systems.
just my idea .....
and please fix this simple "wwstarts2" -> "dhw controls starts2" long name (as Michael has done it)
Thank you and
cu
Harvey
Originally posted by @harvey637 in #450 (comment)
The text was updated successfully, but these errors were encountered: