Python Plugin: Windcentrale Topic is solved
Moderator: leecollings
Python Plugin: Windcentrale
I wrote this Windcentrale plugin, which is similar to the standard Winddelen device.
The standard 'Winddelen' device only displays the current power of the windmill. This plugin gives you more detailed information about the production off the windmill, like current power, energy produced this year, windspeed, rotation speed, operational time, etc.
Be careful!!! I am using undocumented support for client side HTTPS. This requires the very latest beta version!
Plugin can be found on: https://github.com/Xorfor/Domoticz-Windcentrale-Plugin
The standard 'Winddelen' device only displays the current power of the windmill. This plugin gives you more detailed information about the production off the windmill, like current power, energy produced this year, windspeed, rotation speed, operational time, etc.
Be careful!!! I am using undocumented support for client side HTTPS. This requires the very latest beta version!
Plugin can be found on: https://github.com/Xorfor/Domoticz-Windcentrale-Plugin
-
- Posts: 1602
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Python Plugin: Windcentrale
THANKS
Great work..
Use 3 Jonge held...
nice feature...
Great work..
Use 3 Jonge held...
nice feature...
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
-
- Posts: 5
- Joined: Sunday 07 March 2021 12:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Windcentrale
Hi, I like the plugin but The Witte Juffer works but Boerenzwaluw has the old ID 191 instead of the correct 201. So no data is being pulled and available for domonticz. I was searching how I could change this but my programming skills are just simple shell scripts.
-
- Posts: 340
- Joined: Wednesday 04 July 2018 7:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Python Plugin: Windcentrale
Don't expect any help from the author Xorfor, he left domoticz and will not update any of his domoticz plugins anymore
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
Feeding ADSB https://adsb.im/home
- waltervl
- Posts: 5904
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Python Plugin: Windcentrale
It seems not so difficult:Guldan wrote: ↑Sunday 07 March 2021 12:28 Hi, I like the plugin but The Witte Juffer works but Boerenzwaluw has the old ID 191 instead of the correct 201. So no data is being pulled and available for domonticz. I was searching how I could change this but my programming skills are just simple shell scripts.
Open the file plugin.py and change the ID in the ID of boerenzwaluw in the section from line 79 _WINDMILL
Save the file.
Go to Domoticz menu Setup Hardware and select the windmill hardware.
Click on Update to restart the plugin
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 5
- Joined: Sunday 07 March 2021 12:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Windcentrale
Thats the problem, where can I find this plugin.py file?
If I use find to locate this file I only find one that's probably not the correct one.
$ find . -name plugin.py
./plugins/AwoxSMP/plugin.py
Also if I search on _WINDMILL with grep -r I also find no files matching.
So I can't find where the plugin "lives" in the tree.
Just for information I use a raspberry 4/
If I use find to locate this file I only find one that's probably not the correct one.
$ find . -name plugin.py
./plugins/AwoxSMP/plugin.py
Also if I search on _WINDMILL with grep -r I also find no files matching.
So I can't find where the plugin "lives" in the tree.
Just for information I use a raspberry 4/
- waltervl
- Posts: 5904
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Python Plugin: Windcentrale
In the folder /home/<your-userid>/domoticz/plugins all your plugins are stored. Your userid probably is Pi
The plugin folder is probably Domoticz-windcentrale-plugin. In that folder you should find plugin.py
The plugin folder is probably Domoticz-windcentrale-plugin. In that folder you should find plugin.py
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 5
- Joined: Sunday 07 March 2021 12:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Windcentrale
In the plugin directory there are only two dirs.
robert@raspberrypi:~/domoticz/plugins $ ls -lrt
total 8
drwxr-xr-x 2 pi pi 4096 Nov 9 13:47 examples
drwxr-xr-x 3 pi pi 4096 Nov 9 13:47 AwoxSMP
Something my eye catched just now is the part of the Domoticz files are owned pi and others with my id. Strange.
Is the curl | sh somewhat locked into pi only user?
Maybe I should start all over
robert@raspberrypi:~/domoticz/plugins $ ls -lrt
total 8
drwxr-xr-x 2 pi pi 4096 Nov 9 13:47 examples
drwxr-xr-x 3 pi pi 4096 Nov 9 13:47 AwoxSMP
Something my eye catched just now is the part of the Domoticz files are owned pi and others with my id. Strange.
Is the curl | sh somewhat locked into pi only user?
Maybe I should start all over

- waltervl
- Posts: 5904
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Python Plugin: Windcentrale
It is strange that you can use the plugin (you can use Witte Juffer) but you are not able to locate the plugin.
What is that example folder? Is there the windcentrale plugin stored? Or in the other plugin folder.
The difference user Pi or your own user account is due to use sudo or not while installing the plugin.
What is that example folder? Is there the windcentrale plugin stored? Or in the other plugin folder.
The difference user Pi or your own user account is due to use sudo or not while installing the plugin.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 5
- Joined: Sunday 07 March 2021 12:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Windcentrale
Thats what is bothering me. I thought it should be there. But I can't find it. Even a system wide find / -name plugin.py does only find:
root@raspberrypi:/# find / -name plugin.py
/home/robert/domoticz/plugins/AwoxSMP/plugin.py
I almost think the Domoticz python script is "precompiled" binary for speed on raspberry.
It look like that:
file domoticz
domoticz: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=fdf4016066a6e6c48263c94337f0193311ce5b87, not stripped
So could it be that the raspberry version is a python compiled binary?
root@raspberrypi:/# find / -name plugin.py
/home/robert/domoticz/plugins/AwoxSMP/plugin.py
I almost think the Domoticz python script is "precompiled" binary for speed on raspberry.
It look like that:
file domoticz
domoticz: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=fdf4016066a6e6c48263c94337f0193311ce5b87, not stripped
So could it be that the raspberry version is a python compiled binary?
- waltervl
- Posts: 5904
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Python Plugin: Windcentrale
Oh, wait, there is a standard build in winddelen hardware and the plugin that has extra functionality as described in the first topic.
You are using the build in hardware and not the python plugin.
Probably the build in device needs a change, so you will have to find someone that can do that or install and use the plugin and modify if needed.
You are using the build in hardware and not the python plugin.
Probably the build in device needs a change, so you will have to find someone that can do that or install and use the plugin and modify if needed.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Re: Python Plugin: Windcentrale
Changed the ID for the 'De Boerenzwaluw'. It is not tested, but I think this will solve the problem. I guess that 'News' will not give the correct response, because Windcentrale seems not to be consequent with their ID's. That needs extra work.
I publish this fix, because I had to wait 6 months before Domoticz developers came with a solution for the changed webservice (also the windspeed is still incorrect of the build-in hardware!!!). That is the reason for this plugin. Hopefully you enjoy this fix.
You can always contact me directly on Github if you have any problems with the plugins. I will try to fix that for you.
I publish this fix, because I had to wait 6 months before Domoticz developers came with a solution for the changed webservice (also the windspeed is still incorrect of the build-in hardware!!!). That is the reason for this plugin. Hopefully you enjoy this fix.
You can always contact me directly on Github if you have any problems with the plugins. I will try to fix that for you.
- waltervl
- Posts: 5904
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Python Plugin: Windcentrale
Thanks @Xorfor
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 5
- Joined: Sunday 07 March 2021 12:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Windcentrale
Hi,
That explains a lot. Thanks. I will check the plugin and check if I can rebuild system so it's als more up to date
Thanks again @Xorfor
That explains a lot. Thanks. I will check the plugin and check if I can rebuild system so it's als more up to date

Thanks again @Xorfor
Re: Python Plugin: Windcentrale
Fixed different id's for data and news for 'De Boerenzwaluw'. Added the new windmill 'Het Vliegend Hert'.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest