И сразу спрошу, пока увидел.
На входах W1 и W2 тоже висят счетчики, но почему отличаются отображение? (выделены зеленым на предыдущем снимке)
Они сконфигурированы одинаково /etc/wb-homa-gpio.conf:
{
“channels”: [
{
“name”: “W1_watt”,
“gpio”: 11,
“direction”: “input”,
“inverted”: true,
“type”: “watt_meter”,
“decimal_points_current”: 2,
“multiplier”: 1,
“decimal_points_total”: 2,
“initial_state”: false
},
{
“name”: “W2_watt”,
“gpio”: 108,
“direction”: “input”,
“inverted”: true,
“type”: “watt_meter”,
“multiplier”: 1,
“decimal_points_current”: 2,
“decimal_points_total”: 2,
“initial_state”: false
},
{
“name”: “EXT1_IN1”,
“gpio”: 256,
“direction”: “input”,
“inverted”: false,
“type”: “watt_meter”,
“multiplier”: 1,
“decimal_points_total”: 2,
“decimal_points_current”: 2,
“initial_state”: false
},
{
“name”: “EXT1_IN2”,
“gpio”: 257,
“direction”: “input”,
“inverted”: false
},
{
“name”: “EXT1_IN3”,
“gpio”: 258,
“direction”: “input”,
“inverted”: false
},
{
“name”: “EXT1_IN4”,
“gpio”: 259,
“direction”: “input”,
“inverted”: false
},
{
“name”: “EXT1_IN5”,
“gpio”: 260,
“direction”: “input”,
“inverted”: false
},
{
“name”: “EXT1_IN6”,
“gpio”: 261,
“direction”: “input”,
“inverted”: false
},
{
“name”: “EXT1_IN7”,
“gpio”: 262,
“direction”: “input”,
“inverted”: false
},
{
“name”: “EXT1_IN8”,
“gpio”: 263,
“direction”: “input”,
“inverted”: false
},
{
“name”: “EXT1_IN9”,
“gpio”: 264,
“direction”: “input”,
“inverted”: false
},
{
“name”: “EXT1_IN10”,
“gpio”: 265,
“direction”: “input”,
“inverted”: false
},
{
“name”: “EXT1_IN11”,
“gpio”: 266,
“direction”: “input”,
“inverted”: false
},
{
“name”: “EXT1_IN12”,
“gpio”: 267,
“direction”: “input”,
“inverted”: false
},
{
“name”: “EXT1_IN13”,
“gpio”: 268,
“direction”: “input”,
“inverted”: false
},
{
“name”: “EXT1_IN14”,
“gpio”: 269,
“direction”: “input”,
“inverted”: false
}
],
“device_name”: “Discrete I/O”
}