Hi,
is it possible to change the IDX manually?
Why?
I have sensors via tellstick and want to send the data to Domoticz, via node-red and MQTT. Since the sensors has a one ID in tellstick and another in Domoticz, I have to do a conversion, in node-red-
Of course it would be much easier to change the IDX in Domoticz. Haven't found a straightforward way to do it, does anyone know if it's at all possible?
(Change it in tellstick seems even more impossible...)
Manually set IDX?
Moderator: leecollings
-
- Posts: 10
- Joined: Sunday 20 December 2015 18:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Sweden
- Contact:
- gizmocuz
- Posts: 2552
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Manually set IDX?
You could backup your database from the settings page, then open the database in a editor like 'SQLite Expert Personal Edition'
then change the IDX values in the 'DeviceStatus' table
When doing so, i would also clear all log tables (Meter/Multimeter/....) or change also the IDX value there as well
Depending on the amount of devices, maybe best todo this in the node-red script, making one lookup table, easy to extend later
then change the IDX values in the 'DeviceStatus' table
When doing so, i would also clear all log tables (Meter/Multimeter/....) or change also the IDX value there as well
Depending on the amount of devices, maybe best todo this in the node-red script, making one lookup table, easy to extend later
Quality outlives Quantity!
Who is online
Users browsing this forum: No registered users and 1 guest