-
-
-
-
-
Hi, let me pull this thread up again. I do have another question about the sensor. We have a newly installed electricity meter now and the LEDs are very much less bright as at the meter before. So the GL5537 doesn't seem to recognize the quick flashing anymore. Is there a more sensitive sensor? I see there are couple of others ... GL5539, G5549, GL5637D (spectral peak 560nm?!) - different Ohms but I dont see if they are more sensitive or not. Any help is appreciated.
-
Hi,
I must admit, this does not really belong to Puck.js, but maybe someone has an idea.
My older iphone (6) seems to have a very short Bluetooth distance, because I have to get real close to the Puck to connect. It is much better with a 6S - but I am looking for a cheaper solution. I thought about trying Android: it will just have to get online (wifi), request a simple website and - most important - connect smoothly to the Puck. I am used to Apple for many years now: which Android is good and cheap?
Thank you! -
-
-
-
I have the puck in a public room downstairs. Since I cannot access it from the 3rd floor (out of bluetooth range) I have placed an old iPhone in a locked room close to the puck. This phone has access to wifi and internet. When I open my website with the phone, it connects through WebBLE to the puck (just like the electricity meter example). I have added some Javascript (infinite loop) to the website which calls an URL (XMLHttpRequest) once a day passing data from the Puck-object. This works quite well. However, if the connections is lost (for whatever reason), I'll have to walk downstairs, refresh the website to reconnect to the puck. Still have to see how often this will be the case.
-
-
Hey Gordon, thank you for getting back so quickly. Yes, the electricity meter example.
I use WebBLE on my iPhone, the connection is definitely working. But as I said: all is black. Now I think this is because it uploads something everytime I connect - thus reseting the whole thing. How can I connect without uploading something?! One more question: what happens if the power runs out? Guess it not only shuts off, but all data is lost as well? -
Hi,
I am trying the above example, puck is attached to the meter and blinks whenever the electricity meter is blinking. Looks good in my eyes. Unfortunately, when I try the dashboard code on my iPhone (yes, it connects) it only shows 100% battery power, everything else is black. I have let it run for 24 hours now (thought it needs some data first), but no change.
Any hint is welcome.
Btw - whenever I connect with my Macbook now (https://www.espruino.com/ide/#) it OVERWRITES the existing code on puck and all is gone. No chance to check anything. WTF?!
Cheers,
Dan
Excuse me for the next stupid question: where do I apply power to the module?
Upper right corner?