Python Plugin : Broadlink
Moderator: leecollings
-
kollemt
- Posts: 29
- Joined: Monday 18 February 2019 20:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Contact:
Re: Python Plugin : Broadlink
192.168.178.*
-
zak45
- Posts: 954
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : Broadlink
ok, you need also 127.0.0.*
-
kollemt
- Posts: 29
- Joined: Monday 18 February 2019 20:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Contact:
Re: Python Plugin : Broadlink
Added and rebooted
Same problem Failed to load plugin.py
Same problem Failed to load plugin.py
-
zak45
- Posts: 954
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : Broadlink
ok, normal, but now the installation sould be ok and you should be able to see log file, hope no more error HTTP 401.
please confirm.
After, another test you can do:
disable hardware IDX 16 (woonkamer)
add another 'Broadlink with Kodi remote' hardware ( non existing IP address and non used Listener Port )
add another 'Broadlink with Kodi remote' hardware ( with same data as woonkamer )
lets see what happend ....
please confirm.
After, another test you can do:
disable hardware IDX 16 (woonkamer)
add another 'Broadlink with Kodi remote' hardware ( non existing IP address and non used Listener Port )
add another 'Broadlink with Kodi remote' hardware ( with same data as woonkamer )
lets see what happend ....
-
zak45
- Posts: 954
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : Broadlink
Hummm... just a warning... if you do that on your production system, hope you have a backup... we don't know what could happened !!!!
-
zak45
- Posts: 954
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : Broadlink
and if still ptoblem, maybe check the 'rights' on your Broadlink folder.
My advice will be to put 777 ( in recursive way ).
My advice will be to put 777 ( in recursive way ).
-
zak45
- Posts: 954
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : Broadlink
ok, after some reboot and deep testing, have been able to see this error on my windows system:
Version: 2021.1 (build 13954)
Build Hash: 43ee2af49
Compile Date: 2021-12-23 23:07:32
dzVents Version: 3.1.8
Python Version: 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 14 2019, 23:09:19) [MSC v.1916 32 bit (Intel)]
OS : windows 10
Have tried the same on another one (production), no error until now.
this is the version:
Version: 2020.2 (build 13065)
Build Hash: e31c70c24
Compile Date: 2021-03-11 09:49:29
dzVents Version: 3.1.6
Python Version: 3.7.6 (tags/v3.7.6:43364a7ae0, Dec 18 2019, 23:46:00) [MSC v.1916 32 bit (Intel)]
OS: windows 10
I had also put debug mode to 'All' on both.
On production, when restart the plugin, never receive error , but on test always:
2022-02-07 13:55:04.290 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter.
2022-02-07 13:55:04.291 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter.
see this topic:
viewtopic.php?t=37043
this happend during the onStop() call:
2022-02-07 14:01:19.151 (rm2) Acquiring lock for 'rm2'
2022-02-07 14:01:19.151 (rm2) Releasing lock for 'rm2'
Maybe I'm wrong, but looks like this has been introduced during this update :
https://github.com/domoticz/domoticz/issues/5046
according this topic:
viewtopic.php?p=285420#p285420
@dnpwwo,
any thoughts about that ?????
thanks
- Spoiler: show
Version: 2021.1 (build 13954)
Build Hash: 43ee2af49
Compile Date: 2021-12-23 23:07:32
dzVents Version: 3.1.8
Python Version: 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 14 2019, 23:09:19) [MSC v.1916 32 bit (Intel)]
OS : windows 10
Have tried the same on another one (production), no error until now.
this is the version:
Version: 2020.2 (build 13065)
Build Hash: e31c70c24
Compile Date: 2021-03-11 09:49:29
dzVents Version: 3.1.6
Python Version: 3.7.6 (tags/v3.7.6:43364a7ae0, Dec 18 2019, 23:46:00) [MSC v.1916 32 bit (Intel)]
OS: windows 10
I had also put debug mode to 'All' on both.
On production, when restart the plugin, never receive error , but on test always:
2022-02-07 13:55:04.290 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter.
2022-02-07 13:55:04.291 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter.
see this topic:
viewtopic.php?t=37043
this happend during the onStop() call:
- Spoiler: show
- Spoiler: show
2022-02-07 14:01:19.151 (rm2) Acquiring lock for 'rm2'
2022-02-07 14:01:19.151 (rm2) Releasing lock for 'rm2'
Maybe I'm wrong, but looks like this has been introduced during this update :
https://github.com/domoticz/domoticz/issues/5046
according this topic:
viewtopic.php?p=285420#p285420
@dnpwwo,
any thoughts about that ?????
thanks
-
kollemt
- Posts: 29
- Joined: Monday 18 February 2019 20:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Contact:
Re: Python Plugin : Broadlink
I am currently on the latest version 2022.1
I tried the following:
Deactivate the Slaapkamer hardware
Activate the Woonkamer hardware
Reboot
Activate the Slaapkamer hardware
Then all works fine and no problems at all.
Does not matter which of the two I do deactivate.
I agree with you that the problem could be caused by a Domoticz update. The plugin startup process is problably changed as I read in your messages.
I have ordered a new sd card to test with an older domoticz version of my backups in a couple of days as i do not want to overwrite my production sd card.
I tried the following:
Deactivate the Slaapkamer hardware
Activate the Woonkamer hardware
Reboot
Activate the Slaapkamer hardware
Then all works fine and no problems at all.
Does not matter which of the two I do deactivate.
I agree with you that the problem could be caused by a Domoticz update. The plugin startup process is problably changed as I read in your messages.
I have ordered a new sd card to test with an older domoticz version of my backups in a couple of days as i do not want to overwrite my production sd card.
-
kollemt
- Posts: 29
- Joined: Monday 18 February 2019 20:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Contact:
Re: Python Plugin : Broadlink
I installed Domoticz version 2021.1. No problems.
When back to my production Domoticz version 2022.1. Again the same problems.
Looks indeed that the problem was introduced with a later Domoticz version:
2020.2 build 2021-03-11 OK
2021.1 build 2021-04-17 OK
2021.1 build 2021-12-23 NOT OK
2022.1 build 2022-01-31 NOT OK
When back to my production Domoticz version 2022.1. Again the same problems.
Looks indeed that the problem was introduced with a later Domoticz version:
2020.2 build 2021-03-11 OK
2021.1 build 2021-04-17 OK
2021.1 build 2021-12-23 NOT OK
2022.1 build 2022-01-31 NOT OK
- Attachments
-
- 2022.JPG (29.08 KiB) Viewed 2067 times
-
- 2021.JPG (21.45 KiB) Viewed 2067 times
- psubiaco
- Posts: 233
- Joined: Monday 20 August 2018 9:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Italy
- Contact:
Re: Python Plugin : Broadlink
I have the same problem with Domoticz beta and Kia - Hyundai plugin:
CPU goes to 30% and I can see a lot of the following lines in the log.
Should we change something on the python plugin, or wait for a domoticz update?
2022-02-11 15:28:18.413 (Kia eNiro) Releasing lock for 'Kia eNiro'
2022-02-11 15:28:18.463 (Kia eNiro) Acquiring lock for 'Kia eNiro'
2022-02-11 15:28:18.463 (Kia eNiro) Releasing lock for 'Kia eNiro'
2022-02-11 15:28:18.514 (Kia eNiro) Acquiring lock for 'Kia eNiro'
2022-02-11 15:28:18.514 (Kia eNiro) Releasing lock for 'Kia eNiro'
2022-02-11 15:28:18.564 (Kia eNiro) Acquiring lock for 'Kia eNiro'
2022-02-11 15:28:18.565 (Kia eNiro) Releasing lock for 'Kia eNiro'
2022-02-11 15:28:18.615 (Kia eNiro) Acquiring lock for 'Kia eNiro'
2022-02-11 15:28:18.615 (Kia eNiro) Releasing lock for 'Kia eNiro'
2022-02-11 15:28:18.665 (Kia eNiro) Requesting lock for 'Kia eNiro', waiting...
2022-02-11 15:28:18.735 (Kia eNiro) Acquiring lock for 'Kia eNiro'
2022-02-11 15:28:18.735 (Kia eNiro) Releasing lock for 'Kia eNiro'
CPU goes to 30% and I can see a lot of the following lines in the log.
Should we change something on the python plugin, or wait for a domoticz update?
2022-02-11 15:28:18.413 (Kia eNiro) Releasing lock for 'Kia eNiro'
2022-02-11 15:28:18.463 (Kia eNiro) Acquiring lock for 'Kia eNiro'
2022-02-11 15:28:18.463 (Kia eNiro) Releasing lock for 'Kia eNiro'
2022-02-11 15:28:18.514 (Kia eNiro) Acquiring lock for 'Kia eNiro'
2022-02-11 15:28:18.514 (Kia eNiro) Releasing lock for 'Kia eNiro'
2022-02-11 15:28:18.564 (Kia eNiro) Acquiring lock for 'Kia eNiro'
2022-02-11 15:28:18.565 (Kia eNiro) Releasing lock for 'Kia eNiro'
2022-02-11 15:28:18.615 (Kia eNiro) Acquiring lock for 'Kia eNiro'
2022-02-11 15:28:18.615 (Kia eNiro) Releasing lock for 'Kia eNiro'
2022-02-11 15:28:18.665 (Kia eNiro) Requesting lock for 'Kia eNiro', waiting...
2022-02-11 15:28:18.735 (Kia eNiro) Acquiring lock for 'Kia eNiro'
2022-02-11 15:28:18.735 (Kia eNiro) Releasing lock for 'Kia eNiro'
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
-
zak45
- Posts: 954
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : Broadlink
probably wait for a domoticz update, hope that someone will take care of that!psubiaco wrote: Friday 11 February 2022 15:33 I have the same problem with Domoticz beta and Kia - Hyundai plugin:
CPU goes to 30% and I can see a lot of the following lines in the log.
Should we change something on the python plugin, or wait for a domoticz update?
- psubiaco
- Posts: 233
- Joined: Monday 20 August 2018 9:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Italy
- Contact:
Re: Python Plugin : Broadlink
Domoticz update will not solve the problem.
I believe the problem is on logging class: maybe domoticz now is using python 3.10 and broadlink plugin, as kia-hyundai plugin, is using logging python lib. Now I'm doing a dist-upgrade to update everything on my RPI and retry using the plugin, then I'll update this post with the results....
I believe the problem is on logging class: maybe domoticz now is using python 3.10 and broadlink plugin, as kia-hyundai plugin, is using logging python lib. Now I'm doing a dist-upgrade to update everything on my RPI and retry using the plugin, then I'll update this post with the results....
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
-
Valiran
- Posts: 13
- Joined: Thursday 17 February 2022 0:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : Broadlink
Hello!zak45 wrote: Thursday 25 February 2021 0:38For a simple On/off switch in Domoticz, better create a dummy device and copy paste corresponding http command:albebert wrote: Wednesday 24 February 2021 23:49
need to understand how it works now(tried a single IR remote : ok) need to find how create a on/off command with different IR/RF command now
Could you give the syntax of the HTML command please?
Another question is for my projector, it needs to send OFF 2 times, how can I duplicate the command sent, with a 1 sec timer between?
Thanks !
-
zak45
- Posts: 954
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : Broadlink
Click on the earth icon to have the http link : Create a multi code ini file by selecting your desired ini number, add 1 second timer, add any other ini number :Valiran wrote: Thursday 17 February 2022 0:50
Could you give the syntax of the HTML command please?
Another question is for my projector, it needs to send OFF 2 times, how can I duplicate the command sent, with a 1 sec timer between?
edit the multi code ini just created and replace with your desired ini number:
- Attachments
-
- multiCapture.PNG (104.56 KiB) Viewed 1883 times
-
Valiran
- Posts: 13
- Joined: Thursday 17 February 2022 0:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : Broadlink
Hello,
I should have a problem, because my earth button does nothing when I click on it
I should have a problem, because my earth button does nothing when I click on it
-
zak45
- Posts: 954
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : Broadlink
Try with another browser.Valiran wrote: Thursday 17 February 2022 14:34 Hello,
I should have a problem, because my earth button does nothing when I click on it![]()
-
zak45
- Posts: 954
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : Broadlink
try to run the Webadmin Page outside domoticz:
http://<your_domoticz_ip_address>:<plugin_port_number>
http://<your_domoticz_ip_address>:<plugin_port_number>
-
Valiran
- Posts: 13
- Joined: Thursday 17 February 2022 0:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin : Broadlink
Same issue 
-
zak45
- Posts: 954
- Joined: Sunday 22 January 2017 11:37
- Target OS: Windows
- Domoticz version: V2024.4
- Contact:
Re: Python Plugin : Broadlink
Try to see if Javascript is enabled.
Who is online
Users browsing this forum: Google [Bot] and 1 guest