I have trouble getting the plugin (ver 1.2a) to work.
Have connected to the alarm via a Startech USBtoSerial adapter (Startech #ICUSB2321F). I have only connected to GND, TX and RX.
At first I got the error message “Not starting due to too many communication errors” then I cleared “CommExceptions” and “CommLastException”. That took care of the error message but the plugin was still not working.
Hooked up the USBtoSerial adapter to my PC and Docklight. What I found was a continous and repeating stream with EA FF FF FF 00.
Any clous or suggestions on how to get the plugin to work?
I tried power off, including battey, with no luck.
The strange thing was that when reconnecting power, the alarm didnt start (no lights turned on, alarm unit totally dead) until I removed my serial connection. Once the alarm unit had powered on I could reconnect the serial cables.
Just reading you first post fully now. Connecting a USBtoSerial adapter on the pins you refer to will not work. These are TTL level signals, not serial. Connecting to these, you will need a 3.3V TTL->USB adapter.
The connection is working but after some time the plugin stops working and the CommException value is 4. The problem is more frequent in powerlink mode than in standard mode
I can get the plugin going again if I clear the variable CommExeception and restart. So far this fix has worked every time the plugin has stopped working.
What is causing my problem? If the problem itself cant be fixed, is there a way to increase the acceptable CommExceptions or monitor the value and clear it and make a restart if the value become 4?
My setup is: Vera edge UI7, Powermaster 10, Plugin ver 1.2a
I have now tried version 1.2e and still have the same problem - plugin stops working after a while (several hours, sometimes days) and Commexception value is 4.
What does the Commexception indicate and what happens when it reaches 4? Is it possible and what is the downside if I by luup code regulary reset the Commexception value to 0?
There can be various reasons for a comm exception. The crash log will detail which exception occurs. After 4 exceptions the plugin indeed does not start anymore as a sort of fail-safe. There is no harm in resetting the counter to 0, but of course the root cause has to be found and fixed.
Despite my problems with Commexception I think the plugin is great. The plugin was one of the major reasons in my choise to go with Vera as my HA- system.
Is there a way to support your great effort through paypal?
I’m having exactly the same problems (Vera Edge with latest firmware & Powermaster 30 & plugin 1.2e). I keep losing connection “Not starting due to too many communcation errors” (<–there’s a typo btw) with Vera and Powermaster. So I decided to disable CommExceptions check (see attachment). With the latest Vera firmware (1.7.1320) this problem seems even more frequent than before.
I’m also seeing similar sync messages, although not sure if they have any relevance:
The whole log file has been sent earlier to vera.powermax atgmail.com. Despite this problem, plugin is great and would also like to support/donate/help testing.
Best Home Automation shopping experience. Shop at Ezlo!