Combine 2 scripts SolisCloud>Domoticz.

Python and python framework

Moderator: leecollings

Post Reply
PeJeWe
Posts: 56
Joined: Monday 28 November 2016 20:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Netherlands
Contact:

Combine 2 scripts SolisCloud>Domoticz.

Post by PeJeWe »

Goal: Import data from Soliscloud (API) in to Domoticz.

I have found 2 things:
From SolisCloud to PVOutput

Code: Select all

 https://www.google.com/url?sa=t&source=web&rct=j&url=https://github.com/ZuinigeRijder/SolisCloud2PVOutput&ved=2ahUKEwjisvbcz-X8AhVmgf0HHQN2CuwQFnoECAsQAQ&usg=AOvVaw2-ZvilDGiqAwPW6vLvQIl3 
And the PVOutput import plugin by Domoticz.
Can't find the python plugin.py

My python skills are bad and want to ask someone that combine these two so that Domoticz import the data without the PVOutput step.
User avatar
sincze
Posts: 1299
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: Combine 2 scripts SolisCloud>Domoticz.

Post by sincze »

Is doable.
Find your UID en Plant_ID and use my Pass2PHP script.
Solis has the same backend as Omnik and many more.

Code: Select all

http://apic-cdn.solarman.cn/v/ap.2.0/plant/get_plant_device_list?uid=xxxx&plant_id=1yyyy
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
PeJeWe
Posts: 56
Joined: Monday 28 November 2016 20:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Netherlands
Contact:

Re: Combine 2 scripts SolisCloud>Domoticz.

Post by PeJeWe »

How do I use it in Domoticz?
User avatar
sincze
Posts: 1299
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: Combine 2 scripts SolisCloud>Domoticz.

Post by sincze »

PeJeWe wrote: Thursday 26 January 2023 17:34 How do I use it in Domoticz?

Have a look here, only needs 2 variables:
https://github.com/sincze/Domoticz/blob ... portal.php

Omnik and Solis (Login at https://m.ginlong.com/ not soliscloud to obtain UID and PLANTID)
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests