Open joseapdmota opened 2 years ago
@joseapdmota hey, I'm not sure I understand what's the purpose of the new valid
field you suggest to add.
@dsternlicht it might be a bit confusing indeed.
Let me put it in a different way, the data i'm return is regarding the status of GPIO's and some modules on the system.
This is what i'm retrieving:
{
"gpio_44": false,
"gpio_45": false,
"gpio_46": true,
"gpio_47": true,
"modbus.ac_meter_live_rx.voltage_L1": 230.1999969482422,
"modbus.ac_meter_live_rx.voltage_L2": 231.8999938964844,
"modbus.ac_meter_live_rx.voltage_L3": 230.1999969482422,
"modules": [
{
"active": true,
"system_gpios": [
44,
45,
46,
47
],
"status": true,
"frequency": 1000,
"module": "system"
},
],
...
Currently, i'm able to display the data from modules
without issues, nonetheless i didn't find an easy way to display the data from gpio_45
or modbus.ac_meter_live_rx.voltage_L1
.
Noob here, so i'm not sure if that is possible at all.
Thanks
You should simply set the filed's name
to gpio_45
or modbus.ac_meter_live_rx.voltage_L1
.
Taking example on the
config-sample.json
, with a small nuance by adding the fieldvalid
:Is it possible to present the values on the fields
total
andvalid
only?Thanks