Ich einen Fehler bei getPeerId entdeckt, der Filter mit dem Typnamen funktioniert nicht. Benutzt man die TypId geht es. Hier mal ein Beispiel:
homegear -e rc 'print_v($hg->getPeerId(4, "HM-TC-IT-WM-W-EU"));'
(Array length=0)
[
]
homegear -e rc 'print_v($hg->getPeerId(3, "0xAD"));' (Array length=11)
[
(Integer) 35
(Integer) 70
(Integer) 74
(Integer) 78
(Integer) 88
(Integer) 91
(Integer) 92
(Integer) 153
(Integer) 158
(Integer) 272
(Integer) 275
]
Family 0> ls type 0xAD
ID β Name β Address β Serial Number β Type β Type String β Firmware β Config Pending β Unreach β Low Bat
βββββββββββββΌββββββββββββββββββββββββββββΌβββββββββββΌββββββββββββββββΌβββββββΌββββββββββββββββββββββββββββΌβββββββββββΌβββββββββββββββββΌββββββββββΌββββββββ
β β β β β β β β β
35 β AZWT β 5A2E7D β OEQ0300665 β 00AD β HM-TC-IT-WM-W-EU β 1.3 β No β No β No
70 β ArWT β 5A2F43 β OEQ0300467 β 00AD β HM-TC-IT-WM-W-EU β 1.3 β No β No β No
74 β B1WT β 61867E β OEQ1666887 β 00AD β HM-TC-IT-WM-W-EU β 1.3 β No β No β No
78 β KUWT β 60AAFD β OEQ1667322 β 00AD β HM-TC-IT-WM-W-EU β 1.3 β No β No β No
88 β GZWT β 646499 β OEQ1668683 β 00AD β HM-TC-IT-WM-W-EU β 1.3 β No β No β No
91 β LeWT β 618544 β OEQ1666641 β 00AD β HM-TC-IT-WM-W-EU β 1.3 β No β No β No
92 β F2WT β 6465C4 β OEQ1668378 β 00AD β HM-TC-IT-WM-W-EU β 1.3 β No β No β No
153 β WZWT β 4DE92C β NEQ0939659 β 00AD β HM-TC-IT-WM-W-EU β 1.3 β No β No β No
158 β SZWT β 588371 β OEQ0299850 β 00AD β HM-TC-IT-WM-W-EU β 1.3 β No β No β No
272 β FEWT β 4DE926 β NEQ0939649 β 00AD β HM-TC-IT-WM-W-EU β 1.3 β No β No β No
275 β MiWT β 5A2E80 β OEQ0300662 β 00AD β HM-TC-IT-WM-W-EU β 1.3 β No β No β No
βββββββββββββ΄ββββββββββββββββββββββββββββ΄βββββββββββ΄ββββββββββββββββ΄βββββββ΄ββββββββββββββββββββββββββββ΄βββββββββββ΄βββββββββββββββββ΄ββββββββββ΄ββββββββ