Search found 3 matches
- Sunday 22 January 2023 16:07
- Forum: Design, usability and languages
- Topic: Read only 1 register from data block which contains 2 registers
- Replies: 0
- Views: 1136
Read only 1 register from data block which contains 2 registers
Reading values from SMA inverter I want to split the Data Block containing 2 registers to read only 1 register. Unfortunate SMA only allows to read the complete Data Block of 2 registeres 30771 + 30772 but if I could discard the first register the problem would be solved. Now I can only read an ...
- Wednesday 23 March 2022 16:01
- Forum: Bash / PowerShell / Batch etc.
- Topic: JSON + jq mathematics on multiple idx values
- Replies: 1
- Views: 1063
Re: JSON + jq mathematics on multiple idx values
In the meantime I continued with the setup of a database (InfluxDB) and a custom dashboard (Dashticz).
In Dashticz I can do the required calculations and show the output as a value / graph according to the manual.
Problem solved
In Dashticz I can do the required calculations and show the output as a value / graph according to the manual.
Problem solved
- Tuesday 22 March 2022 15:25
- Forum: Bash / PowerShell / Batch etc.
- Topic: JSON + jq mathematics on multiple idx values
- Replies: 1
- Views: 1063
JSON + jq mathematics on multiple idx values
I can read multiple values divided over as many idx data. In bash I can do some mathematical as shwon in the 3rd line but somehow it pastes the 2nd value behind the first without really adding them together like 1 + 2 = 3 bash script Epower.sh: #!/bin/bash curl -s "http://localhost:8060/json.htm ...