Have you looked at https://github.com/tchellomello/python-ring-doorbell
Read the statement by Michael Teeuw here.
Best posts made by frog
-
JSON to a module? How can you do this?
Hi,
Not really a particular issue with a module, but I wonder if anyone knows how I can send a JSON message to a module - so I can send messages between modules.
Reason I’m wanting this is because I can then connect an Amazon Echo via HABridge to the MagicMirror - saves having a microphone, USB sound card etc.etc…
-
RE: Withings
@matt25 Hi,
Thanks, with your pointers, I got through to step 4 and the resultant URL does retrieve data so I know the credentials are working- but putting that into the config.js (all info it looks like you ask for is contained in that request URL), I still get zeros.
I suspect I’m close, but not sure what could be wrong.
-
RE: Show two weather and forecast modules on the same screen
@bhepler My bad, just re-entered the info in config.js and it works! thanks.
-
RE: MM runs fine on one monitor but not a different one?
@valid8r Isn’t the rainbow cube down to the power supply? Are you changing the PSU as well as the monitor? The raspberry pi 3 does draw a lot more power than the zero.
Make sure the PSU is at least 3A (I tend to use 4A for overkill :) )
-
RE: JSON to a module? How can you do this?
@cowboysdude maybe, but I want to keep on topic. General privacy issues should be in the discussion section. I’m looking for some advice and help.
-
RE: JSON to a module? How can you do this?
Actually, found it via the excellent MMM-Remote-Control by Jopyth.
Thanks for all your help lol and cowboy
Latest posts made by frog
-
RE: Buy acrylic mirror in Spain
Can you ask him who his supplier is (and the glass manufacturer)? I can probably get a local guy (in Barcelona) to get it from the distributor directly
-
RE: Installing Magic Mirror 2 Using An SD Card With A Different IMAGE
Just follow the tutorial and you’ll be fine
-
RE: Stop the screensaver!
There’s no need for that attitude. Please desist as this is a forum for helping people. I also had this problem so it isn’t isolated. It may not be possible to add a keyboard and mouse to the screen and use the screensaver utility.
-
RE: Fitbit
Well the token.ini file should be altered to include the correct credentials. That’s why you are getting the error. Fix that and you may get somewhat further. I manually entered the info to get mine to (partially) work.
-
RE: "mirona" mirror for the magic mirror ?
Me too - I can get one here in the UK, but would like to get one near Barcelona.
-
RE: Fitbit
@tismepaulo Actually, I got it working by firstly not using ssh and running this directly on the display using a terminal and secondly not using sudo. Populated the tokens.ini with the results from the results of the script - and changed the access of the tokens.ini file to 666 - re-ran again the setupAccess.py and it said all was good.
having said that - while I get the authorisation page from Fitbit, I got zero values on the MM. The fitbit account page says that I have access, but initially no data comes through… Next thing I did was running getData.py (in the python directory) I do get a good response:
{"message": "credentials.ini exists", "type": "status"} {"message": "Reading from credentials.ini", "type": "status"} {"message": "Read of credentials.ini successful.", "type": "status"} {"message": "credentials.ini exists", "type": "status"} {"message": "Reading from credentials.ini", "type": "status"} {"message": "Read of credentials.ini successful.", "type": "status"} {"message": "tokens.ini exists", "type": "status"} {"message": "Reading from tokens.ini", "type": "status"} {"message": "Read of tokens.ini successful.", "type": "status"} {"message": "Making API call", "type": "status"} {"message": "API call okay", "type": "status"} {"message": "Tokens valid", "type": "status"} {"values": {"data": 4684, "goal": 10000}, "resource": "steps", "type": "data"} {"values": {"data": 0, "goal": 1}, "resource": "floors", "type": "data"}
So I think it is at least reflecting accurately now what the fitbit site is showing for steps, but is incorrect for distance - still showing 0 (maybe because I’m using KM not miles?)
-
RE: Display modules in a carousel
@PointPubMedia Don’t you need to just put the ones you don’t want to rotate in IgnoreModules? I haven’t installed it, but that looks like the intent…
-
RE: knowledge sharing on GPIO pins
Hi,
I understand what you say, but the gpio pins really aren’t heavily used in the MagicMirror - really so far for buttons and pir. I suggest this following forum as a better place to look as you’ll get many more people who are using the general features of the raspberry.
https://www.raspberrypi.org/forums/