Have you looked at https://github.com/tchellomello/python-ring-doorbell
Read the statement by Michael Teeuw here.
Posts
-
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/ -
RE: Currency Exchange Rates?
@yawns thanks. The date says a day out I.e the 5th for today (the 6th). I wasn’t aware of only a daily update, so it must be working OK. Thanks
-
RE: knowledge sharing on GPIO pins
@bibi there’s a lot of info webwise on the raspberry GPIO pins - I’d search on the web rather than here, but it’s true that you can use the two 5V pins - but be aware that the GPIO pins are at 3.3v - so you do need to step the voltage down on a lot of things that you would connect to. There are quite a few though that do work around 3.3v - like the PIR and sonic sensors for example.
Here is the page where I learnt all I needed to know about GPIO which could be a good start:
https://www.modmypi.com/blog/raspberry-pi-gpio-sensing-motion-detection -
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: Just installed magic mirror, now how do I change some things?
I’m not totally sure what your issue is, but it may be permissions when editing the config.js file.
try:
sudo nano ~/MagicMirror/config/config.jsmake the change and save it with ctrl-o, ctrl–z
-
RE: Need help with Fitbit module returning all zeroes
@darrene Funny, but I had to change the config to remove the square brackets and replace them with curly brackets around the config parameters to get the config.js file to be accepted:
{ module: 'MMM-fitbit', position: 'top_center', **config: {** credentials: { client_id: <client_id>, client_secret: <client_secret>, }, resources: [ 'steps', 'floors', 'caloriesOut', 'distance', 'activeMinutes', 'sleep', 'heart' ], update_interval: 60 **}** }, -
RE: Currency Exchange Rates?
@yawns Hi,
How often does this refresh? I’m getting no changes on my mirror even though I’m restarting it.
-
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
-
RE: cannot stat '/config/config.js.sample' : No such file or directory
@fabrang looks like it is looking for the config folder in the root folder - not /home/pi/MagicMirror.
What exactly is the command you are running when you get this error?
-
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?
now the children have gone to bed, can anyone help with this?
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…