Code Monkey home page Code Monkey logo

mhop / fhem-mirror Goto Github PK

View Code? Open in Web Editor NEW
106.0 51.0 126.0 339.03 MB

Branch 'master' is an unofficial read-only-mirror of https://svn.fhem.de/fhem/trunk which is updated once a day. (branch sf_old a mirror of the old repo: svn://svn.code.sf.net/p/fhem/code/trunk)

Perl 92.87% Makefile 0.01% Shell 0.15% Processing 0.04% CSS 0.54% JavaScript 4.88% HTML 0.63% Gnuplot 0.01% C 0.01% XSLT 0.01% PHP 0.31% Python 0.27% Roff 0.01% C++ 0.30% Smarty 0.01%

fhem-mirror's People

Contributors

marcproe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fhem-mirror's Issues

Login with credential file

doesn't work with
934 $userName =~ $creds{$name}{username};
935 $passWord =~ $creds{$name}{password};
should be
934 $userName = $creds{$name}{username};
935 $passWord = $creds{$name}{password};

FHEM mirror repository does not sync anymore

This mirror repository of FHEM's official SVN repo appears to not sync anymore with the official repository.
The last commit here is from mid August, but the FHM SVN repo has seen many commits since then.

Could you please fix any issues so that the Github mirror is up-to-date again?

Thanks!

70_ONKYO_AVR TX-RZ720 Volume is 50% off

Hi,

When using TX-RZ720 the Volume is 50% off, so if target Volume is 100% the set receiver volume is 50%.

used configuration:

defmod avr ONKYO_AVR 10.0.0.142 2013 zone2
attr avr devStateIcon off:switch_off on:switch_on:off absent:switch_err:off
attr avr eventMap on:on off:off
attr avr fp_LCARS_MEDIA 250,500,5,
attr avr inputs BD/DVD:CBL/SAT:GAME:STRM_BOX:PC:AUX:AM:FM:CD:TV:PHONO:NET:BLUETOOTH
attr avr room Media,Zentrale
attr avr webCmd volume:mute:sleep:input

31_HUEDevice.pm no state update after some hours

I am using a Philips HUEBridge V2 and have connected it with FHEM 30_HUEBridge.pm.

Then I configured it in FHEM with "define Gartentorswitch HUEDevice sensor 5 1". This runs via 31_HUEDevice.pm.
When a button is pressed, for example, a state "16" arrives in FHEM from this Gartentorswitch sensor.
This actually works very well.
Unfortunately, after 1-2 days this suddenly no longer works. . Only when I restart my FHEM does everything work again - until the next stop...
I am really at a loss as to what the problem is.
I also have no idea how I can narrow down the problem or fix the error.

31_HUEDevice.pm log warning

Hi
HUEDevice works great - also for some Chinese products.
Many thanks for that !

One issue I've got...
I mainly use some of these Chinese sensors, like Konke and Aqara.
Once setup they work very well.

Although sometimes I get a warning in Fhem log file from last line of function HUEDevice_Get.
PERL WARNING: Use of uninitialized value $list in concatenation (.) or string at ./FHEM/31_HUEDevice.pm line 1257.
It seems that I get these warnings during setup, each time I change an attribute from Fhem UI.
I put a log code at the beginning of regarding function HUEDevice_Get.
my $cmd= $a[1];
Log3 $name, 2, "[$name] command <$cmd>";
The output shows that if in case of a warning a Fhem command '?' to this device is being issued.
[motion_FX_stairs] command <?>
Yes, the command itself seems to be a questionmark and therefore is not being handled in the code.
Because of my sensor the $list at the end of HUEDevice_Get will not be set.
So the last line of HUEDevice_Get throws the warning.
return "Unknown argument $cmd, choose one of $list";

Could you please implement some bugfix ?
Where does command '?' come from. I do not issue it. I only set valid attributes in Fhem UI.
Maybe e.g. just ignore the '?'

Best regards

unknown IODev specified

Ich habe Probleme mit dem TSL2561 ich bekomme immer
Luminosity: unknown IODev specified

erkannt wird der Sensor einwandfrei, ich habe einen Raspberry Pi 2.

pi@raspimessen ~ $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- 39 -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- 77

und hier sind meine Definitionen im fhem:

define Luminosity I2C_TSL2561 0x39
attr Luminosity IODev I2CModule
attr Luminosity poll_interval 5

FHEM/10_KNX.pm : Line 159 missing $ at the end

Bug:

my $PAT_GAD_NONAME = '^(on|off|value|raw|' . $PAT_GAD_OPTIONS . q{|} . $PAT_GAD_SUFFIX . ')';

OK:
my $PAT_GAD_NONAME = '^(on|off|value|raw|' . $PAT_GAD_OPTIONS . q{|} . $PAT_GAD_SUFFIX . ')$';

Without the tailing $, "offen" would be identified as illegal, too.
Thank you in advance for fixing.

CUL_HM broken after latest update.

After the recent update CUL_HM cannot be loaded:

2016.05.27 16:02:30 0: Server started with 34 defined entities (fhem.pl:11476/2016-05-18 perl:5.020002 os:linux user:fhem pid:8155)
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_Initialize redefined at ./FHEM/10_CUL_HM.pm line 132.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_updateConfig redefined at ./FHEM/10_CUL_HM.pm line 212.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_Define redefined at ./FHEM/10_CUL_HM.pm line 474.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_Undef redefined at ./FHEM/10_CUL_HM.pm line 529.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_Rename redefined at ./FHEM/10_CUL_HM.pm line 548.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_Attr redefined at ./FHEM/10_CUL_HM.pm line 596.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_AttrCheck redefined at ./FHEM/10_CUL_HM.pm line 841.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_prtInit redefined at ./FHEM/10_CUL_HM.pm line 859.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_hmInitMsg redefined at ./FHEM/10_CUL_HM.pm line 864.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_hmInitMsgUpdt redefined at ./FHEM/10_CUL_HM.pm line 901.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_Notify redefined at ./FHEM/10_CUL_HM.pm line 928.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_setupHMLAN redefined at ./FHEM/10_CUL_HM.pm line 946.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_Parse redefined at ./FHEM/10_CUL_HM.pm line 983.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_parseCommon redefined at ./FHEM/10_CUL_HM.pm line 2723.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_m_setCh redefined at ./FHEM/10_CUL_HM.pm line 3222.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_queueUpdtCfg redefined at ./FHEM/10_CUL_HM.pm line 3233.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_parseSDteam redefined at ./FHEM/10_CUL_HM.pm line 3251.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_parseSDteam_2 redefined at ./FHEM/10_CUL_HM.pm line 3312.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_updtSDTeam redefined at ./FHEM/10_CUL_HM.pm line 3373.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_pushEvnts redefined at ./FHEM/10_CUL_HM.pm line 3394.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_Get redefined at ./FHEM/10_CUL_HM.pm line 3421.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_Set redefined at ./FHEM/10_CUL_HM.pm line 3701.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_valvePosUpdt redefined at ./FHEM/10_CUL_HM.pm line 5688.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_valvePosTmr redefined at ./FHEM/10_CUL_HM.pm line 5755.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_weather redefined at ./FHEM/10_CUL_HM.pm line 5787.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_infoUpdtDevData redefined at ./FHEM/10_CUL_HM.pm line 5796.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_getConfig redefined at ./FHEM/10_CUL_HM.pm line 5846.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_calcDisWmSet redefined at ./FHEM/10_CUL_HM.pm line 5908.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_calcDisWm redefined at ./FHEM/10_CUL_HM.pm line 5926.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_RemoveHMPair redefined at ./FHEM/10_CUL_HM.pm line 5971.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_pushConfig redefined at ./FHEM/10_CUL_HM.pm line 5981.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_PushCmdStack redefined at ./FHEM/10_CUL_HM.pm line 6064.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_ProcessCmdStack redefined at ./FHEM/10_CUL_HM.pm line 6078.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_respWaitSu redefined at ./FHEM/10_CUL_HM.pm line 6092.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_responseSetup redefined at ./FHEM/10_CUL_HM.pm line 6118.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_sndIfOpen redefined at ./FHEM/10_CUL_HM.pm line 6251.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_SndCmd redefined at ./FHEM/10_CUL_HM.pm line 6289.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_statCnt redefined at ./FHEM/10_CUL_HM.pm line 6362.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_statCntRfresh redefined at ./FHEM/10_CUL_HM.pm line 6389.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_respPendRm redefined at ./FHEM/10_CUL_HM.pm line 6404.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_respPendTout redefined at ./FHEM/10_CUL_HM.pm line 6419.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_respPendToutProlong redefined at ./FHEM/10_CUL_HM.pm line 6513.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_FWupdateSteps redefined at ./FHEM/10_CUL_HM.pm line 6519.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_FWupdateBTo redefined at ./FHEM/10_CUL_HM.pm line 6587.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_FWupdateEnd redefined at ./FHEM/10_CUL_HM.pm line 6599.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_FWupdateSpeed redefined at ./FHEM/10_CUL_HM.pm line 6621.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_FWupdateSim redefined at ./FHEM/10_CUL_HM.pm line 6632.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_eventP redefined at ./FHEM/10_CUL_HM.pm line 6645.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_protState redefined at ./FHEM/10_CUL_HM.pm line 6683.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_ID2PeerList redefined at ./FHEM/10_CUL_HM.pm line 6733.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_peerChId redefined at ./FHEM/10_CUL_HM.pm line 6835.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_peerChName redefined at ./FHEM/10_CUL_HM.pm line 6847.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_getMId redefined at ./FHEM/10_CUL_HM.pm line 6856.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_getRxType redefined at ./FHEM/10_CUL_HM.pm line 6873.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_getFlag redefined at ./FHEM/10_CUL_HM.pm line 6896.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_getAssChnIds redefined at ./FHEM/10_CUL_HM.pm line 6902.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_getAssChnNames redefined at ./FHEM/10_CUL_HM.pm line 6920.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_getKeys redefined at ./FHEM/10_CUL_HM.pm line 6929.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_generateCBCsignature redefined at ./FHEM/10_CUL_HM.pm line 6950.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_h2IoId redefined at ./FHEM/10_CUL_HM.pm line 7020.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_IoId redefined at ./FHEM/10_CUL_HM.pm line 7027.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_id2IoId redefined at ./FHEM/10_CUL_HM.pm line 7035.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_name2IoName redefined at ./FHEM/10_CUL_HM.pm line 7045.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_hash2Id redefined at ./FHEM/10_CUL_HM.pm line 7052.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_hash2Name redefined at ./FHEM/10_CUL_HM.pm line 7056.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_name2Hash redefined at ./FHEM/10_CUL_HM.pm line 7060.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_name2Id redefined at ./FHEM/10_CUL_HM.pm line 7064.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_id2Name redefined at ./FHEM/10_CUL_HM.pm line 7077.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_id2Hash redefined at ./FHEM/10_CUL_HM.pm line 7097.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_getDeviceHash redefined at ./FHEM/10_CUL_HM.pm line 7103.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_getDeviceName redefined at ./FHEM/10_CUL_HM.pm line 7109.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_shH redefined at ./FHEM/10_CUL_HM.pm line 7115.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_shC redefined at ./FHEM/10_CUL_HM.pm line 7124.
2016.05.27 16:02:32 1: PERL WARNING: Subroutine CUL_HM_lstCh redefined at ./FHEM/10_CUL_HM.pm line 7132.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_DumpProtocol redefined at ./FHEM/10_CUL_HM.pm line 7142.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_getRegFromStore redefined at ./FHEM/10_CUL_HM.pm line 7190.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_chgExpLvl redefined at ./FHEM/10_CUL_HM.pm line 7272.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_setTmplDisp redefined at ./FHEM/10_CUL_HM.pm line 7315.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_updtRegDisp redefined at ./FHEM/10_CUL_HM.pm line 7336.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_rmOldRegs redefined at ./FHEM/10_CUL_HM.pm line 7395.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_refreshRegs redefined at ./FHEM/10_CUL_HM.pm line 7412.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_encodeTime8 redefined at ./FHEM/10_CUL_HM.pm line 7435.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_decodeTime8 redefined at ./FHEM/10_CUL_HM.pm line 7449.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_encodeTime16 redefined at ./FHEM/10_CUL_HM.pm line 7456.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_convTemp redefined at ./FHEM/10_CUL_HM.pm line 7471.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_decodeTime16 redefined at ./FHEM/10_CUL_HM.pm line 7484.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_secSince2000 redefined at ./FHEM/10_CUL_HM.pm line 7491.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_getChnLvl redefined at ./FHEM/10_CUL_HM.pm line 7503.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_initRegHash redefined at ./FHEM/10_CUL_HM.pm line 7513.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_fltCvT60 redefined at ./FHEM/10_CUL_HM.pm line 7528.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_CvTflt60 redefined at ./FHEM/10_CUL_HM.pm line 7539.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_fltCvT redefined at ./FHEM/10_CUL_HM.pm line 7546.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_CvTflt redefined at ./FHEM/10_CUL_HM.pm line 7557.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_min2time redefined at ./FHEM/10_CUL_HM.pm line 7561.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_time2min redefined at ./FHEM/10_CUL_HM.pm line 7566.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_getRegN redefined at ./FHEM/10_CUL_HM.pm line 7575.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_4DisText redefined at ./FHEM/10_CUL_HM.pm line 7585.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_TCtempReadings redefined at ./FHEM/10_CUL_HM.pm line 7616.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_SD_2 redefined at ./FHEM/10_CUL_HM.pm line 7697.
2016.05.27 16:02:33 1: PERL WARNING: Subroutine CUL_HM_TCITRTtempReadings redefined at ./FHEM/10_CUL_HM.pm line 7711.
2016.05.27 16:02:33 1: reload: Error:Modul 10_CUL_HM deactivated:
 Global symbol "$dName" requires explicit package name at ./FHEM/10_CUL_HM.pm line 7832.
Global symbol "$dName" requires explicit package name at ./FHEM/10_CUL_HM.pm line 7832.
BEGIN not safe after errors--compilation aborted at ./FHEM/10_CUL_HM.pm line 7911.

2016.05.27 16:02:33 0: Global symbol "$dName" requires explicit package name at ./FHEM/10_CUL_HM.pm line 7832.
Global symbol "$dName" requires explicit package name at ./FHEM/10_CUL_HM.pm line 7832.
BEGIN not safe after errors--compilation aborted at ./FHEM/10_CUL_HM.pm line 7911.

2016.05.27 16:02:33 0: ERROR: Cannot autoload CUL_HM
2016.05.27 16:02:33 3: hmusb: Unknown code A0FA086102E75320000000A70D10C0040::-66:hmusb, help me!
2016.05.27 16:02:33 1: reload: Error:Modul 10_CUL_HM deactivated:
 Global symbol "$dName" requires explicit package name at ./FHEM/10_CUL_HM.pm line 7832.
Global symbol "$dName" requires explicit package name at ./FHEM/10_CUL_HM.pm line 7832.
BEGIN not safe after errors--compilation aborted at ./FHEM/10_CUL_HM.pm line 7911.

2016.05.27 16:02:33 0: Global symbol "$dName" requires explicit package name at ./FHEM/10_CUL_HM.pm line 7832.
Global symbol "$dName" requires explicit package name at ./FHEM/10_CUL_HM.pm line 7832.
BEGIN not safe after errors--compilation aborted at ./FHEM/10_CUL_HM.pm line 7911.

[...]

Replacing with the version from 366392e make it work again.

OWSWITCH Get with wrong IODev type OWServer

Beim abfragen von "get ... input A oder B" erhalte ich "OWSWITCH: Get with wrong IODev type OWSERVER".
Fehler vermutlich in Zeile 542
519 #-- get single state
...
541 #-- OWFS interface
542 }elsif( $interface eq "OWFS" ){
543 $ret = OWFSSWITCH_GetState($hash);

mit "}elsif( $interface eq "OWSERVER" ){" funktioniert es

PostgreSQL dump incorrect

Hi,
i've tried the PostgreSQL dump (contrib/dblog/db_create_postgresql.sql) and had to change it. The problem ist, that the Table will be stored in the schema fhem, due to this has to be accessed via fhem.history. But the device expect only history. A hotfix would be to change the PostgreSQL dump (see below). The better would be to make it parameterizable, i.e. with an attribute.

--
-- PostgreSQL database dump
--

SET statement_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = off;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET escape_string_warning = off;

--
-- Name: current; Type: TABLE; Schema: fhem; Owner: fhem; Tablespace: 
--

CREATE TABLE current (
    "timestamp" timestamp without time zone,
    device character varying(64),
    type character varying(64),
    event character varying(512),
    reading character varying(64),
    value character varying(128),
    unit character varying(32)
);


ALTER TABLE fhem.current OWNER TO fhem;

--
-- Name: history; Type: TABLE; Schema: fhem; Owner: fhem; Tablespace: 
--

CREATE TABLE history (
    "timestamp" timestamp without time zone default CURRENT_TIMESTAMP,
    device character varying(64),
    type character varying(64),
    event character varying(512),
    reading character varying(64),
    value character varying(128),
    unit character varying(32)
);


ALTER TABLE fhem.history OWNER TO fhem;

--
-- Name: reading; Type: INDEX; Schema: fhem; Owner: fhem; Tablespace: 
--

CREATE INDEX "Search_Idx" ON history USING btree (device, reading, "timestamp")

--
-- PostgreSQL database dump complete
--

falscher Übergabewert

Die Zeile 242 sollte geändert werden. So sieht das Original aus:
return sprintf("%0.1f C (measured)", $v);

So sollte es aussehen, damit die Temperatur dem FHEMrichtig übergeben wird:
return sprintf("%0.1f", $v);

32_WifiLight dim Werte mit . werden nicht akzeptiert

Wenn ein Wifilight Gerät in der FHEMAPP integriert wird, wird der Dimm-Befehl nicht verstanden.
FHEMAPP sendet **set $device dim 20.0**
FHEM versteht allerdings nur **set $device dim 20**
Kann die Abfrage auf Kommawerte angepasst werden?
Danke vorab, ich wünsche angenehme Feiertage

Gruß Gerhard

Readings für valueIcon in ReadingGroups nicht verwendbar

Hallo,

ich möchte mir eine ReadingGroup machen, die den Batteriestatus aller Batteriebetriebenen HM Geräte mit einem Icon anzeigt, die ich über HMCCUCHN oder HMCCUDEV angelegt habe.

Die Devices haben alle ein Reading LOWBAT. Dieses Reading wird allerdings immer als <ccuname>.LOWBAT im definierten HMCCUCHN Device angelegt.

Normalerweise würde man nun eine ReadingGroup anlegen mittels:
define ZE.Batterie readingsGroup .*:LOWBAT

fhem erkennt dann aber kein einziges Device, weil die Readings alle <ccuname>.LOWBAT heißen.

Mit Wildcard *.LOWBAT werden die Devices angezeigt:
define ZE.Batterie readingsGroup .*:*.LOWBAT

Dann fällt man aber auf die Nase, wenn man eine Ersetzung des Values durch ein valueIcon durchführen möchte, da fhem bei der Verwendung von valueIcon keine Wildcards akzeptiert, führt dies hier in's Leere:

attr ZE.Batterie valueFormat {return "0" if( $VALUE eq "yes" );; return "100" if( $VALUE eq "no" );;} attr ZE.Batterie valueIcon {'*.LOWBAT.0' => 'measure_battery_0@red','*.LOWBAT.100' => 'measure_battery_100@green'}

Behebung: HMCCUCHN/HMCCUDEV müßte die Readings ohne vorangestelltes Device anlegen. Also statt <ccuname>.<READING> nur <READING>.

Viele Grüße
Alex

55_GDS.pm

German:
Wenn die Zugangsdaten noch nicht funktionieren und man versucht ein "get list stations" aufzurufen, killt dies den FHEM Prozess... Anschliessend hilft nur noch ein "service fhem restart".
Möglicherweise muss hier das Errorhandling verbessert werden?

English:
If your GDS Account is not usable after password change (1 hour) and you try to do an "get list stations" anyway, this will kill your fhem process. Maybe some sort of errorhandling is missing?

98_GAEBUS.pm

@jamesgo

German:
Kann ich GAEBUS so konfigurieren, dass "-f" nicht zur ebus abfrage hinzugefügt wird? Für meinen Anwendungszweck reicht es vollkommen, die Daten, die als Teil der Broadcasts kommen, zu verwenden.

English:
can GAEBUS be configured so that it doesn't add "-f" to read commands from the Ebus? Reason is, for my use-case, it's perfectly fine to just take data that has been part of the broadcasts.

Thanks a lot!

GT-WT-01 Temp Sensor als AURIOL Device erkannt

Hallo,

ich nutze die aktuelle Version der a-culfw und mein GT-WT-01 wird als AURIOL sensor erkannt, allerdings nur, wenn ich das senden "force". Ansonsten kommen keinerlei Messages richtig an. Ich hatte gelesen, dass der GT-WT-01 bereits implementiert war- ggf. eine Regression?

Hier der Log Auszug, wenn der Sensor angelegt wird:

Sensor anlegen2016
=====
2016.02.10 21:41:58 4 : CUL_Parse: nanoCUL sDE40FD6A5824; 576: 9024

2016.02.10 21:41:58 4 : CUL_TCM97001 Unknown 222 (DE40FD6A5824) length: 12 RSSI: -56

2016.02.10 21:41:58 4 : CUL_TCM97001 Define Name: Unknown Model defined: Unknown

2016.02.10 21:41:58 4 : CUL_TCM97001 using longid: 1 model: AURIOL

2016.02.10 21:41:58 2 : CUL_TCM97001 Unknown device CUL_TCM97001_222, please define it

2016.02.10 21:41:58 4 : autocreate: received 1 event(s) for 'CUL_TCM97001 CUL_TCM97001_222' during the last 180 seconds

2016.02.10 21:41:58 4 : autocreate: ignoring event for 'CUL_TCM97001 CUL_TCM97001_222': at least 2 needed

2016.02.10 21:43:25 4 : autocreate: received 2 event(s) for 'CUL_TCM97001 CUL_TCM97001_222' during the last 180 seconds

2016.02.10 21:43:25 2 : autocreate: define AURIOL_222 CUL_TCM97001 CUL_TCM97001_222

2016.02.10 21:43:25 2 : autocreate: define FileLog_AURIOL_222 FileLog ./log/AURIOL_222-%Y.log AURIOL_222

2016.02.10 21:43:25 2 : autocreate: define SVG_AURIOL_222 SVG FileLog_AURIOL_222:temp4hum4:CURRENT

2016.02.10 21:43:54 4 : CUL_Parse: nanoCUL sDE4102878024; 576: 9008

2016.02.10 21:43:54 4 : CUL_TCM97001 Unknown 222 (DE4102878024) length: 12 RSSI: -56

2016.02.10 21:43:54 4 : CUL_TCM97001 Define Name: Unknown Model defined: Unknown

2016.02.10 21:43:54 4 : CUL_TCM97001 using longid: 1 model: Type1

2016.02.10 21:43:54 4 : CUL_TCM97001 temperature AURIOL_222 222 T: 25.8 H: 67

Update senden (allerdings forced und nur temp wird erkannt, humidity nicht)
=======
2016.02.10 21:48:37 4 : CUL_Parse: nanoCUL sDE410BDC201F; 576: 9024

2016.02.10 21:48:37 4 : CUL_TCM97001 Unknown 222 (DE410BDC201F) length: 12 RSSI: -58.5

2016.02.10 21:48:37 4 : CUL_TCM97001 Define Name: Unknown Model defined: Unknown

2016.02.10 21:48:37 4 : CUL_TCM97001 using longid: 1 model: AURIOL

2016.02.10 21:48:37 4 : CUL_TCM97001 temperature AURIOL_222 222 T: 26.7

DEVICE TeslaCar / since Tesla software version 2023.44.30.9 no Update to FHEM

Hello,
since the 22nd the Tesla software version 2023.44.30.9 is activ are there no updates from the car to fhem. With this software update you must generate a new RefreshToken. This works.

The Readings from teslaconn are:
state connected 2024-01-25 20:53:34

But the car itself does not update. Even if you delete the existing entry and create a new one.
Regards Frank

With verbose level5 I get the following logging:

2024.01.25 22:06:57 4: 5YJ3E7EB2LFxxxxxx Timer update
2024.01.25 22:06:57 4: 5YJ3E7EB2LFxxxxxx response from Tesla API: {"response":null,"error":"Endpoint is only available on fleetapi. Visit https://developer.tesla.com/docs for more info","error_description":""}
2024.01.25 22:06:57 5: 5YJ3E7EB2LFxxxxxx params: $VAR1 = {

......

callback function: CODE(0x3144920)

Typo in 10_EnOcean.pm

Found a typo in fhem/FHEM/10_EnOcean.pm:
Replace all "BatteryPrecent" by "BatteryPercent" please.
Thanks

holiday allows space separator only, enhacement request: use "\s+" instead of " " for split

I had an issue with my holiday file and was able to find the root source: I had a tab used instead a blank to separate type and date. Therefor the split in line 75 of 95_holiday.pm did not find a date entry. Example:
1\t05-22 gelb

instead of

1 05-22 gelb

will not be found, as the split on " +" does work.

I suggest to change line 75 to:

  my @args = split("\s+", $l, 3); # use white space identifier instead of blank only: split(" +", $1, 3);

The issue in the file can not be found easily, as most editors do not show the tab different from a blank.

10_ZWave.pm ZMNKIDx OnOff Thermostat 2 report of 3 digit

Hello,

The new ZMNKIDx OnOff Thermostat 2 report of 3 digit
so there is report of THERMOSTAT_SETPOINT_REPORT wrong number of bytes received
my sugested update ligne 1614

my $length1 = length($3);
my $sp = hex($3);
my $msb = (hex($3)>>4*$length1-1); # most significant bit ( 0 = pos, 1 = neg )

if ($length1 == $size2) {
$sp -= (2 ** ($size
8)) if $sp >= (2 ** ($size*8-1));
$sp = $sp / (10 ** $prec);

} elsif ($length1 == $size*3){
$sp = $msb ? -(256 - ((hex($3) & 0x00ff00)>>8)) : (hex($3)>>8); # 2's complement
$sp = $sp / 10 ;

} else {
Log3 $name, 1, "$name: THERMOSTAT_SETPOINT_REPORT "
."wrong number of bytes received";
return;
}

31_HUEDevice

Mir ist heute aufgefallen, dass das Icon via HUEDeviceSetIcon für das
Haustür ( front door ) Icon falsch gesetzt wird.

hue_room_frontdoor statt hue_room_front door

47_OBIS.pm - Workaround for DZG DVS74

When the 47_OBIS.pm module is used in combination with a DZG DVS74 power meter, the current power value is sometimes interpreted as a negative value. Even if this seams to be bug in the power meter itself if would be very helpful to implement a workaround in the 47_OBIS.pm module. A workaround implementation in C is described here:
jmberg/libsml@81c4026
Additional information can be found on this page:
https://wiki.volkszaehler.org/hardware/channels/meters/power/edl-ehz/dzg_dvs74

I am sorry that I cannot implement the code by myself. I could help to test the code in combination with my power meter if this is helpful.

km271.pl does not parse the value 0x02 correctly

I am using https://github.com/mhop/fhem-mirror/blob/master/fhem/contrib/km271.pl to extract log data from a Buderus Logamatic 2107 and have discovered an error in the log data parser when a value is received as 0x02 as shown in the following example:

The data stream received from the device for the key Betriebswerte_1_HK1 4.

2022-04-17_05:47:24.891 DEV 02
2022-04-17_05:47:24.902 DEV 80  
2022-04-17_05:47:24.906 DEV 00   
2022-04-17_05:47:24.910 DEV 04
2022-04-17_05:47:24.913 DEV 10
2022-04-17_05:47:24.917 DEV 03
2022-04-17_05:47:24.922 DEV 97

is parsed correctly as

2022-04-17_05:47:24.923 Betriebswerte_1_HK1 4

The data stream received for the key Betriebswerte_2_HK1 2.

2022-04-17_05:47:25.139 DEV 02
2022-04-17_05:47:25.147 DEV 80
2022-04-17_05:47:25.153 DEV 01
2022-04-17_05:47:25.156 DEV 02
2022-04-17_05:47:25.160 DEV 10
2022-04-17_05:47:25.164 DEV 03
2022-04-17_05:47:25.169 DEV 90

results in

Wrong CRC in 100390 (90 vs. 13)

which is not correct.

The reason for this problem is that parsing the second '02' value deletes all previously added data in $tbuf at

$tbuf = "";
.

14_SD_WS.pm

Hi,
i use a renkforce 433Mhz Hydrometer.
autocreate map this as SD_WS_33_TH.

So far so good ;)
But my battery field has the wrong entry
battery CODE(0x3070d80)
Her are expected low or ok.

sduino_RAWMSG
MS;P0=-7946;P1=520;P2=-2004;P3=-4030;D=10121212121313131212131312121312121313121213131213131213121312121213121212121313131213;CP=1;SP=0;O;

39_Talk2Fhem.pm

Probleme mit Talk2Fhem und Umlauten (Tür = Internet)

my $disu =AttrVal($hash, "T2F_disableumlautescaping", 0);

sollte

my $disu =AttrVal($hash->{NAME}, "T2F_disableumlautescaping", 0);

sein, sonnst ist es immer 0 und die Umlaute werden als wildcard gewertet

Enhancement for readingDefinitions in 98_CustomReadings.pm

This is a feature request for an enhancement in 98_CustomReadings.pm

For a better use of readingDefinitions I would like to use
attr WEB JavaScripts codemirror/fhem_codemirror.js

In order to do this, the following line should be extended:

$hash->{AttrList} = "readingDefinitions "

into
$hash->{AttrList} = "readingDefinitions:textField-long "

Would this be possible?
Thanks in advance :)

Undefined subroutine setKeyValue

In module 36_shelly.pm i get an error if i want to set the shelly password like :
Undefined subroutine &main::setKeyValue called at ./FHEM/36_Shelly.pm line 743

(the same thing at getKeyValue)

Transfer mirror to /fhem

Hi,

I will offer to invite you to the FHEM organizational account and transfer the mirror repository to github.com/fhem/fhem-mirror.

Modul 49_TeslaConnection PERL WARNINGs

Hello,
the modul has PERL WARNINGs.

PERL WARNING: Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^{ <-- HERE .*}$/ at ./FHEM/49_TeslaConnection.pm line 180, <$fh> line 627.
PERL WARNING: Smartmatch is experimental at ./FHEM/49_TeslaConnection.pm line 355, <$fh> line 627.
PERL WARNING: Use of uninitialized value in hash element at ./FHEM/49_TeslaConnection.pm line 47, <$fh> line 627.

Regards Frank

31_HUEDevice.pm

I get the following error message after FHEM Update and FHEM won't start:

Can't call method "Dumper" on unblessed reference at ./FHEM/31_HUEDevice.pm line 1105

Traced it back to this line in 31_HUEDevice.pm:
Log3 $name, 5, Dumper $result if($HUEDevice_hasDataDumper);

Removed the line and it all works again.

unknown subroutine myStr2Date

When I try to write the data to the database I get an error:
Undefined subroutine &main::myStr2Date called at ./FHEM/00_SmartMeterP1.pm line 228.

The connection was successfull, but this error makes FHEM lock completely.

get error when reload 98_vitoconnect.pm

Hi,
i have download the current module and do reload 98_vitoconnect.pm
i get the error:

syntax error at ./FHEM/98_vitoconnect.pm line 1, near ""payload":"

assume that this is not normal.

DbRep delEntries no longer working without options no and nn

Hello,

when I use the delEntries command of the DbRep module i receive the folowing error:

"Error - Wrong time limits. The <nn> (days newer than) option must be greater than the <no> (older than) one !"

So, the delEntries command is no longer working without the no and nn options. The timeOlderThan is ignored.

This behavior probably occurs since the latest modification of the delEntries method and is still present after an update of FHEM and all of its modules to the latest status.

Thank you for your support!

BR
Zilon

Eq3bt firmware update

Hello,

I found that is a new firmware for eq3bt.
Is this release of 10_EQ3BT for FHEM will be correct ?

Problem mit FreeTec Thermometer NX-9193-917

Hallo,

Bis zum letzten Update ging mein Poolthermometer von FreeTec noch einwandfrei. Jetzt erkennt er nur noch Battery-Status, Channel ( wobei hier bei Ch. 1 im FHEM 0 angezeigt wird ) und Mode.

Ich habe versucht es selbst hinzubekommen aber leider übersteigt es meine Perl Kenntnisse.

1001 0011 0100 1000 0000 1110 1100 0000 0000

Das oben wäre das Signal. Das Problem ist, dass es gleich ist mit Prologue aber irgendwie erkennt er die Temperatur nicht. Diese sollte irgendwo beim 6 und 7 Bit sein. Evtl auch noch das 4te, da die Temperatur auch per Fahrenheit übertragen werden kann und dann bis 140F ginge.

Kann mir vielleicht jemand sagen warum es immer ging und jetzt nicht mehr? Finde keine Änderung am 14_CUL_TCM97001 welche dazu führen könnte. FreeTec wurde nur bei IT etwas wegen der Türklingel geändert. Hängt es eventuell damit zusammen?

Grüße und schon mal vielen Dank!

Michi

98_vitoconnect.pm since yesterday

No Upates since yesterday.

Eerror from Log and Login Output Area where normally Login:success is written:

Status: JSON error while request: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end of string)") at ./FHEM/98_vitoconnect.pm line 1478.

Login was tested in the app it works normal (Logout und Login).

Try an fhem update today, nothing changes.

best regards,
seek

HMCCUConf.pm: "holiday" shown as SET_POINT_MODE "boost" for HEATING_CLIMATECONTROL_TRANSCEIVER

When turning on "holiday" via CCU3 my HMCCUCHN of type HEATING_CLIMATECONTROL_TRANSCEIVER shows
SET_POINT_MODE "boost" instead. According to my observation with device HmIP-eTRV-B
"holiday" is datapoint 1.SET_POINT_MODE value 2
"boost" (when turned on at the device) does not affect datapoint 1.SET_POINT_MODE but only 1.BOOST_MODE

So maybe in fhem/FHEM/HMCCUConf.pm for %HMCCU_CONVERSIONS it should read
'HEATING_CLIMATECONTROL_TRANSCEIVER' => { 'SET_POINT_TEMPERATURE' => { '4.5' => 'off', '30.5' => 'on' }, 'SET_POINT_MODE' => { '0' => 'auto', '1' => 'manual', '2' => 'holiday', '3' => 'off' }, 'WINDOW_STATE' => { '0' => 'closed', '1' => 'open', 'false' => 'closed', 'true' => 'open' } },
(replaced "boost" by "holiday") ?

98_backup.pm

Would like to have "--one-file-system" included in 98_bakup.pm
This way the tar command will not dive into any mounted filesystem and add it to the backup...tar.gz file.

if (!defined($backupcmd)) {
if (lc($symlink) eq "no") {
$tarOpts = "cf --one-file-system";
} else {
$tarOpts = "chf --one-file-system";
}

Thanks for considering the change.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.