Hello,
Sorry but this is not the same issue.
My issue is not with import command.
The import works well.
My issue is when using subfunctions with "def".
Then they are not found.
Search found 5 matches
- Thursday 18 May 2023 18:37
- Forum: Python
- Topic: Python events: unable to use subroutines !
- Replies: 2
- Views: 255
- Saturday 29 April 2023 20:50
- Forum: Python
- Topic: Python events: unable to use subroutines !
- Replies: 2
- Views: 255
Python events: unable to use subroutines !
Hello, I've been working hours on a python script outside of domoticz, which now gives me satisfaction. Now is the time to put it in domoticz, so I copy/paste my script in the embedded Python Events editor. And I always get the same error: (CRC being one of the subroutines I defined) 2023-04-29 20 ...
- Saturday 07 November 2020 22:14
- Forum: Show your projects
- Topic: Resol DeltaSol C solar heating water tank in Domoticz
- Replies: 2
- Views: 947
Re: Resol DeltaSol C solar heating water tank in Domoticz
Then you can also create a fake "Plan" in Domoticz to represent the system:
Example of a typical sunny day:
- Saturday 07 November 2020 22:11
- Forum: Show your projects
- Topic: Resol DeltaSol C solar heating water tank in Domoticz
- Replies: 2
- Views: 947
Re: Resol DeltaSol C solar heating water tank in Domoticz
I limited the PCB size to 5cm x 5cm top save on the price on iTeadStudio: PCB.PNG The installation is fairly simple: just connect the system in parallel to the controller mains and connect the 2 VBUS wires with a twisted pair. Then you need to flash the ESP8266 with the ESPEasy firmware and declare ...
- Saturday 07 November 2020 21:47
- Forum: Show your projects
- Topic: Resol DeltaSol C solar heating water tank in Domoticz
- Replies: 2
- Views: 947
Resol DeltaSol C solar heating water tank in Domoticz
Hello, I'm sharing here my setup to read a Resol DeltaSol C solar heating water tank. The concept is the following: SolarTank.png There is a solar panel on the roof of my house, connected to a water tank through a pump. The pipes are filled with glycol and the pump runs roughly when the panels are ...