Is the Event Module compatible with the latest VLow Write Image?

I discovered the Event Module on GIT and thought I'd give it a try on my VLow-Write-v8.5. I have followed the detailed installation instructions and I have entered the Pi's Mosquitto settings. I can send the test messages OK. I have also up clicked "update and check" in the database. Unfortunately nothing triggers and all events have 

"Last true:1970-1-1 12:00:00" which suggests a disconnect between the Events Module and the Database.

Should it work and if it should what have I missed? Copy of page attached

 

pb66's picture

Re: Is the Event Module compatible with the latest VLow Write Image?

I don't definitively know the answer to your question but believe it could well be "incompatable" hopefully someone will correct me if I'm wrong. I'm just thinking out loud and have not looked into it.

But I would expect the Event Module to depend quite heavily on the last value and last update time, these values are held in the SQL tables for NON-low-write versions for which this was written, the low-write versions do not store these values in tables, they hold them in RAM so the event module may not be able to find them.

I have in the past used the events module, but the last couple of times I have failed to get it working, tests ok but no event notifications were ever generated. I did post and got no where but cannot recall what version of emoncms I was using at the time, perhaps it was low-write??

Paul

sheppy's picture

Re: Is the Event Module compatible with the latest VLow Write Image?

That makes sense - I did have a brief look at the code but I'm no expert. I did see Redis mentioned which I think is the memory caching bit

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.