[ST Edge] Sense Energy Monitor [BETA]

I’d love to get this going, but seem to be having n issu getting the server file for my rPi…?

pi@ADA:~/Sense $ sudo ./senseBridgeServer-linux-arm64 
./senseBridgeServer-linux-arm64: 1: ./senseBridgeServer-linux-arm64: ELF�䡎@x�v@8: not found
./senseBridgeServer-linux-arm64: 2: ./senseBridgeServer-linux-arm64: Syntax error: "(" unexpected
pi@ADA:~/Sense $ ./senseBridgeServer-linux-arm64 
-bash: ./senseBridgeServer-linux-arm64: cannot execute binary file: Exec format error
pi@ADA:~/Sense $

What may I be doing wrong here?

Tried to go te docker route as well, and seems the container is not happy…
Logs for the container output

#
# Fatal error in , line 0
# unreachable code
#
#
#
#FailureMessage Object: 0xbedc86cc

Update:
I think I got this working finally…
ditched docker
upgraded Nodejs
Suddenly things got going…
Stopped process, started with pm2 and now that the port has changed, how long will it be before the driver does a discovery scan again and finds the server on a new port?

*Update 2 *
I had to force a port on the server to get things going, also uninstalled the device and let it re-add itself… once I forced the port, it auto discovered the server and got going, finally…

If it helps anybody else, I created a pm2 config.js file to get it started and it should now run on reboot of my Pi…

module.exports = {
  apps : [{
    name        : "Sense-Bridge-Server",
    script      : "server.js",
    watch       : true,
    merge_logs  : true,
    cwd         : "/home/pi/Sense/SmartThings-Sense-Edge-Sense-Bridge-Server-v1.0.1/src/server",
    env         : {"SENSE_SERVER_PORT": 33890 }
   }
  ]
}

Just wanted to say thanks for this! Been wanting a way to integrate my Sense Energy Monitor with SmartThings. Working fantastic!

Hi Brian,

is this still integration working? I installed Docker however there is no images or container for Windows.

Regards

Yep, I’m still running it. If you’re wanting to run on windows, you can get a simple exe here: Release 1.0.1 · brbeaird/SmartThings-Sense-Edge · GitHub

Otherwise, I’m pretty sure you can run the existing containers on DockerHub within Windows, although from what I remember, it’s not a great experience.