WouterK wrote:From a device which publishes LWT = online I would like to configure a shims device which contains the online or offline value.
I tried this with a raw value but am struggeling with the device model, this is only an status, and sensor type. It is no json, not a value.
How can I configure a device containing the online/offline status of a device?
Are the only two choices for that payload
"LWT = online" and
"LWT = offline"? Or can it be any arbitrary text? If there are only two possible values, you would use a Shim On/Off Sensor device with payload type of Raw. And then On Value =
"LWT = online". It won't save that actual string (online/offline) anywhere, but you'll know which value it was.
If it's an arbitrary string, there's no standard Indigo device type that has a string as the device state (that I can think of). In which case it would have to be a custom device type with the payload in a state. How do you plan to use that payload value later?