Photovoltaics mikroinwenters

I wanted to add 45 microinverters to my OH2
they are available at
http://192.168.1.12/latest/module/A/0

(digits from 0-14 change) and letters A-B-C

query result

http://192.168.1.12/latest/module/A/0

{
“mi.sample_timestamp”: 1593024368.4865277,
“mi.state”: 30,
“ble.sample_reads”: “455”,
“mi.vpv”: 21.15,
“st_update.attempts”: “0”,
“st_update.progress”: “0”,
“mi.fac”: 50.03,
“ble.valid_samples”: “455”,
“mi.error3”: 0,
“ble.disconnect_retries”: “0”,
“mi.time_on_sec”: 38227525,
“mi.trip_info.iac”: 0,
“mi.iac”: 0,
“mi.trip_info.fac”: 0,
“ble.disconnect_errors”: “0”,
“ble_update.size”: “0”,
“ble_update.state”: “none”,
“mi.temp”: 23.8,
“st_update.size”: “0”,
“mi.trip_info.temperature”: 0,
“ble.connect_errors”: “1”,
“st_update.state”: “none”,
“ble.mi_data_errors”: “0”,
“mi.energy_ac_wsec”: 2822651417,
“ble.daemon_data_errors”: “0”,
“mi.trip_info.vpv_dc”: 0,
“mi.pac”: 0,
“mi.trip_info.vac”: 0,
“ble_update.attempts”: “0”,
“ble.write_errors”: “0”,
“mi.vac”: 238.9,
“mi.trip_info.gfdi”: 0,
“ble_update.progress”: “0”,
“ble.read_errors”: “61”,
“ble.writes”: “0”,
“mi.trip_info.ipv_dc”: 0,
“mi.error2”: 0,
“mi.error1”: 0,
“mi.sample_age”: 3461,
“ble.connects”: “493”,
“ble.lmp_errors”: “0”,
“ble.reads”: “1828”,
“ble.rssi”: “-74.10”,
“ble.link_layer_failures”: “31”
}

I would like the data to be displayed in OH. I will be grateful for any help

Look at the HTTP binding. Pay special attention to the caching configuration instructions.

Create one Item per piece of information you want from the result. Use the JSONPATH transformation to extract that value.

Thank you for the answer, my problem was the wrong format in items.

already works returns the given value
Number sunmaxa0 {http = “<[http://192.168.1.12/latest/module/A/0:60000:JSONPATH ($. [‘Mi.sample_age’])]”}

2020-06-26 00:43:27.640 [vent.ItemStateChangedEvent] - sunmaxa0 changed from 12868 to 12928

I would like to have a preview of individual values … in paper UI …

You will have to wait until there is a 2.x version of the HTTP binding. Nothing from 1.x version bindings appear in PaperUI.

Thank you for your commitment, I would like to ask if you know the date of this publication>?
Influxdb and Grafana must be enough for me at the moment :slight_smile:

I’ve no idea. Probably around the time OH 3 comes out.