Show Description in Switches tab for Virtual Switch
Posted: Monday 03 April 2023 19:56
In my Domoticz I use digital inputs and outputs designed by me and using the CANBUS protocol. The DI modules have 16 digital inputs, UP to 8 zero crossing triac outputs used for LED lighting, or 6 relay outputs for switching higher currents. The data exchanged between the modules and Domoticz uses the OpenCan protocol modified by me. Domoticz runs on Rapberry Pi3 with added RS485_CAN_HAT module. Program written in Python exchanges data between modules and Domoticz. Inputs and outputs declared as “Virtual Sensor”. To define the address of the module I use the Description field as I have not found another field in the SQL database. When reviewing the switches, I would like to see the Description field in Sensors tab between “Type” text and “Log” “Edit” “Notifications” pushbuttons.
In the tabular view (Setup/Devices) I added a Description column in the devices. js file (works in Firefox, I can't force Chromium to accept changes probably because of cash):
What and in which file/files should I change to display the Description field?
Any hints welcome.
In the tabular view (Setup/Devices) I added a Description column in the devices. js file (works in Firefox, I can't force Chromium to accept changes probably because of cash):
What and in which file/files should I change to display the Description field?
Any hints welcome.