mdp / atlantawatermeter Goto Github PK
View Code? Open in Web Editor NEWRead the Neptune R900 (Atlanta's) smart water meters with a raspberry pi and an RTL-SDR
Read the Neptune R900 (Atlanta's) smart water meters with a raspberry pi and an RTL-SDR
Looks like a really neat project. Looking forward to seeing if I can adapt this to my smartmeters when I get home.
Is the Dockerfile for mpercival/resin-rtl-sdr available somewhere? Would be super interested to know what's in that Docker image.
I would like to send the consumption data to Statx on my phone.
Where can I find statx details for the following variables?
STATX_APIKEY
STATX_AUTHTOKEN
STATX_GROUPID
STATX_STATID
Thanks
My Neptune R900M meter uses Cubic Meters for consumption (metric in Canada). Therefore I lowered the divisor on line 22 of Daemon.sh from 10000 to 1000 and changed the text description on line 23 from "CCF" to "Cubic Meters". The consumption now reads the same as on the actual meter's display.
I've managed to get this up and running, but now receiving the following error:
Error connecting to spectrum server: dial tcp 127.0.0.1:1234: getsockopt: connection refused
Any ideas how to fix this? Thanks for your help.
I successfully created a resin.io app and device (PI mod 3 (64-bit)) for a Pi 3 B v1.2. I've have successfully loaded some test resin apps on the Pi to make sure resin.io is working.
When pushing the AtlantaWaterMeter git package, I get multiple errors. I also zipped it and did a 'balena push ' to see if there were issues with git but same output errors.
I'm a noob with docker and resin so not real handy debugging this. Thanks for any help.
Error message:
`[Info] Starting build for meterreader, user gh_jboyd170
[Info] Dashboard link: https://dashboard.balena-cloud.com/apps/1863184/devices
[Info] Building on arm01
[Info] Pulling previous images for caching purposes...
[Success] Successfully pulled cache images
[main] Step 1/15 : FROM mpercival/resin-rtl-sdr
[main] ---> a0e8f753911c
[main] Step 2/15 : MAINTAINER Mark Percival
[main] Using cache
[main] ---> 8f4551e39e21
[main] Step 3/15 : RUN sudo apt-get update && apt-get install -y curl python && apt-get clean
[main] ---> Running in c9fa05d62aff
[main] Ign http://resin-packages.s3-website-us-east-1.amazonaws.com resin InRelease
[main] Get:1 http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release.gpg [801 B]
[main] Get:2 http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release [2258 B]
[main] Ign http://archive.raspbian.org jessie InRelease
[main] Get:3 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
[main] Ign http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release
[main] Ign http://archive.raspbian.org jessie Release.gpg
Building on arm01
[Info] Pulling previous images for caching purposes...
[Success] Successfully pulled cache images
[main] Step 1/15 : FROM mpercival/resin-rtl-sdr
[main] ---> a0e8f753911c
[main] Step 2/15 : MAINTAINER Mark Percival
[main] Using cache
[main] ---> 8f4551e39e21
[main] Step 3/15 : RUN sudo apt-get update && apt-get install -y curl python && apt-get clean
[main] ---> Running in c9fa05d62aff
[main] Ign http://resin-packages.s3-website-us-east-1.amazonaws.com resin InRelease
[main] Get:1 http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release.gpg [801 B]
[main] Get:2 http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release [2258 B]
[main] Ign http://archive.raspbian.org jessie InRelease
[main] Get:3 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
[main] Ign http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release
[main] Ign http://archive.raspbian.org jessie Release.gpg
[main] Get:4 http://resin-packages.s3-website-us-east-1.amazonaws.com resin/main armhf Packages [2633 B]
[main] Ign http://archive.raspbian.org jessie Release
[main] Get:5 http://archive.raspberrypi.org jessie/main armhf Packages [170 kB]
[main] Err http://archive.raspbian.org jessie/main armhf Packages
[main] 404 Not Found
[main] Err http://archive.raspbian.org jessie/contrib armhf Packages
[main] 404 Not Found
[main] Err http://archive.raspbian.org jessie/non-free armhf Packages
[main] 404 Not Found
[main] Err http://archive.raspbian.org jessie/rpi armhf Packages
[main] 404 Not Found
[main] Err http://archive.raspbian.org jessie/firmware armhf Packages
[main] 404 Not Found
[main] Fetched 199 kB in 6s (30.3 kB/s)
[main] W: GPG error: http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release: The following signatures were invalid: KEYEXPIRED 1483758662 KEYEXPIRED 1483758662 KEYEXPIRED 1451428169 KEYEXPIRED 1483758662 KEYEXPIRED 1438561085 KEYEXPIRED 1483758662 KEYEXPIRED 1483758662 KEYEXPIRED 1483758662 KEYEXPIRED 1451428169 KEYEXPIRED 1483758662 KEYEXPIRED 1438561085
[main] W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/main/binary-armhf/Packages 404 Not Found
[main] W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/contrib/binary-armhf/Packages 404 Not Found
[main] W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/non-free/binary-armhf/Packages 404 Not Found
[main] W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/rpi/binary-armhf/Packages 404 Not Found
[main] W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/firmware/binary-armhf/Packages 404 Not Found
[main] E: Some index files failed to download. They have been ignored, or old ones used instead.
[main]
[main] Removing intermediate container c9fa05d62aff
[main] The command '/bin/sh -c sudo apt-get update && apt-get install -y curl python && apt-get clean' returned a non-zero code: 100
[Info] Uploading images
[Success] Successfully uploaded images
[Error] Some services failed to build:
[Error] Service: main
[Error] Error: The command '/bin/sh -c sudo apt-get update && apt-get install -y curl python && apt-get clean' returned a non-zero code: 100
[Info] Built on arm01
[Error] Not deploying release.
remote: error: hook declined to update refs/heads/master
To git.balena-cloud.com:gh_jboyd170/meterreader.git
! [remote rejected] master -> master (hook declined)`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.