Closed kisPocok closed 8 years ago
Thanks for letting me know, will add to the list. Regarding MQTT I must admin I assumed people will know [obviously not always true], will add a one-liner. However I wouldn't encourage the use of public brokers with your alarm system due to privacy. thanks again
kisPocok, are you edit some code in plugin and config.ini? Because I have some error in log after connect to alarm system: INFO: Socket connection closed bz remote host> -1 ERROR State02:Error attempting connection to IP module (1): 'NoneType' object has no attribute 'getitem'
@radebebek My last IP150 burned down 🔥So, I decided to not continue my research. Check the .py code, search for NoneType
that should be the problem (it has to have a type).
@kisPocok NoneType means that instead of an instance of whatever Class or Object you think you're working with, you've actually got None. That usually means that an assignment or function call up above failed or returned an unexpected result.
Maybe have missed something when configuring config.ini?
Are you working without problems with this plugin?
This plugin has nothing with burned IP150?
This plugin has nothing with burned IP150?
Not at all. Over current/surge happened.
Are you working without problems with this plugin?
As I remember, yes.
Thanks a lot, I'll try to find the mistake.
@kisPocok @Tertiush I can find mistake, How did you make config.ini files? Are you change this with SP6000
Alarm_Model = ParadoxMG5050
Alarm_Registry_Map = ParadoxMG5050
Alarm_Event_Map = ParadoxMG5050
Zone_Amount = 32
Hi Tertiush,
Thank you for sharing this codes! It work like a charm with my SP6000 board + IP150.
MQTT I wasn't familiar with MQTT so it took a time to find a working server/broker. The easiest way to try it is a public broker. Choose one from here, enter it's ip to the
config.ini
. https://github.com/mqtt/mqtt.github.io/wiki/public_brokersThe README must tell about it. Thanks again!