breaker27 / smarthomatic

smarthomatic
http://www.smarthomatic.org
34 stars 12 forks source link

Fhem update #77

Closed Roadyweb closed 10 years ago

Roadyweb commented 10 years ago

This is the last update before I want to post the SHC modules in the fhem forum for inclusion, so please test and review carefully (especially the documentation).

Main things that have changed:

  1. Documention for SHC modules: To review execute "perl contrib/commandref_join.pl" in the fhem root folder. By running this command the commandref.html is generate automatically from the source files.
  2. Notify support for dimmer device: The define is different because of the different state string define SHC_DIM_60_notify_on notify SHC_DIM_60:on.B:.100
  3. Extended workaround Now all false entries get deleted except "brightness", because this collides with the dimmer device where brightness = 0 is a perfect valid value.
Inhumierer commented 10 years ago

Am 26.05.2014 16:47, schrieb rr2000:

This is the last update before I want to post the SHC modules in the fhem forum for inclusion, so please test and review carefully (especially the documentation).

I get a few error messages, and I don't get fresh values in FHEM:

root@ninjablock:/opt/fhem# Subroutine SHC_Dev_Initialize redefined at ./FHEM/37_SHC_Dev.pm line 109. Subroutine SHC_Dev_Define redefined at ./FHEM/37_SHC_Dev.pm line 126. Subroutine SHC_Dev_Undef redefined at ./FHEM/37_SHC_Dev.pm line 172. Subroutine SHC_Dev_Parse redefined at ./FHEM/37_SHC_Dev.pm line 184. Subroutine SHC_Dev_Set redefined at ./FHEM/37_SHC_Dev.pm line 381. Subroutine SHC_Dev_Get redefined at ./FHEM/37_SHC_Dev.pm line 517. Subroutine SHC_Dev_Send redefined at ./FHEM/37_SHC_Dev.pm line 554.

Roadyweb commented 10 years ago

Did you rename packet_layout.xml to SHC_packet_layout.xml?

Otherwise please post the relevant part of the fhem log as well, usually found in log/fhem-2014-05.log

Inhumierer commented 10 years ago

Am 28.05.2014 16:20, schrieb rr2000:

Did you rename packet_layout.xml to SHC_packet_layout.xml?

Ah, this did the trick ;-) Sorry, I missed this detail. Everything is working fine.