REDIS configuration

I've got a Brultech GEM that I've had posting to smartenergygroups. Now that SEG has started charging an arm and a leg, I'm looking to move to a self hosted setup, so I've been setting up emoncms on a Raspberry Pi 2.

 

I followed the directions here to get things set up: https://github.com/emoncms/emoncms/blob/master/docs/RaspberryPi/readme.md

My watt inputs seems to be working correctly, but watt hours, not so much. I gather that I need to use the Wh accumulator, but that is disabled because REDIS isn't enabled. I tried enabling REDIS in settings.php, and my feeds broke horribly (existing feeds all disappeared, new feeds failed to be created, the feed list couldn't even load). I assume I need to perform some sort of configuration of REDIS, but I can't find any documentation as to what. Can anyone give me any guidance on what to do here?

TrystanLea's picture

Re: REDIS configuration

Hello Zhentar

Are you able to access redis-cli from command line?

$ redis-cli

if so you could try clearing the redis database with:

$ redis-cli "flushall"

If that doesnt sort it but you can access redis then perhaps its an issue with the redis php client..

Zhentar's picture

Re: REDIS configuration

The flushall seems to have fixed it. Seems odd that it would be needed on a fresh install, but whatever. Thanks for the help!

Comment viewing options

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