Solved: Best way for virtual sensor

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
michap
Posts: 379
Joined: 26 Mar 2013 10:35
Contact:

Solved: Best way for virtual sensor

Post by michap »

Hi,
I have tried different ways to realize a virtual sensor - but nothing "nice" have found in this time.

Target - to realize the integration of external sensors (Bluetooth, 433MHz,..) into Z-Way.
All these sensors reporting in this time to MQTT server.

Way1: subscribe to MQTT server and update sensors - seems not to be possible in this time

So idea is to use an own subscriber and update the sensor devices.

Way2: Create Code Device for sensorMultilevel and update this sensor using a HTTP-request -> can not get it to work

Way3: Create HTTPDevice as dummy device and update this sensor using a HTTP-request -> can not get it to work (read only device?)

Way 3a - Create HTTPdevice and make GET requests to any additional ressource from where get the value. This is working, but not the best way I think...

Somebody made it before and can tell me ? ;)
Thanks!
User avatar
PoltoS
Posts: 6086
Joined: 26 Jan 2011 19:36

Re: Best way for virtual sensor

Post by PoltoS »

@aivs did that as I remember
michap
Posts: 379
Joined: 26 Mar 2013 10:35
Contact:

Re: Best way for virtual sensor

Post by michap »

Solved: using code device it is possible.
(see updated device description)

Thanks to PoltoS and aivs!
Post Reply