mlukasek / m5_nightscoutmon Goto Github PK
View Code? Open in Web Editor NEWM5Stack Nightscout monitor
License: GNU General Public License v3.0
M5Stack Nightscout monitor
License: GNU General Public License v3.0
hi im having a problem with loseing wifi signal and dont know how to fix or what going wrong , it just cuts out and system reboots but cant find wifi even tho i got wifi on phone and network name and password is right
Show difference from last 2 measurements.
Hello Martin.
Is it possible to put vibrations instead of sounds for the hearing impaired, in the m5stack nightcout.
maybee with this addon
https://m5stack.com/products/vibration-motor-unit
Regards
.ini is read from the SD at first start and saved in M5Stack NV memory so that if you remove the SD it will use the saved settings.
PS: haven't even seen if it's feasible with Arduino, but just an idea like that...
PPS: and if you tell me SDs are cheap you're right too.
Add ALARM sound to missed reading. I know that have ALERT to missed reading.
But I think the missed reading is very important to know when happen and occurs a lot with people use SPIKE.
ALARM is more loud and more easy to wake up at night to fix the problem of missed reading.
Currently the clock is in 24hr format, please add a config to set the clock to 12 hour format
Make it right, now its "quick and dirty" with <23 sedonds condition.
hi. I updated over the web client to the latest release yesterday and I noticed that the time was offset by +1 hour on my M5stack since then. I restarted the stack and it didn't change. I also tried setting the configured offset to 0 (I'm in CET so it should be 3600) and that gives the correct display time. I'll leave it like that for now but it looks like some kind of error in time processing.
ENHANCEMENT REQUEST:
I love the BWP feature of nightscout and would love to see that during the night instead of COB+IOB.
I added that feature once in my code, but just removed COB+IOB for it, since it would not fit all to the small screen.
And since I am not a typical developer and used to GitHub I was not able to push that into you repo ;)
Maybe you could just build something like IOB+COB or BWP or None
I just added BWP here
Available
strcat(NSurl,"/api/v2/properties/iob,cob,delta,loop,basal,bwp");
JsonObject bwp = JSONdoc["bwp"];
ns->bwp = bwp["bwp"]; // 0
strncpy(ns->bwp_display, bwp["display"] | "N/A", 16); // 0
strncpy(ns->bwp_displayLine, bwp["displayLine"] | "BWP: N/A", 16); // "BWP: 0U"
// Serial.println("BWP OK");
I am facing an issue with my m5stack core2 device. I have the M5GO bottom2 (https://shop.m5stack.com/products/m5go-battery-bottom2-for-core2-only) which has integrated LED's I have played around (and researched) and found the leds are on PIN 25. I set in the config to use pin 25 (which appears to be default?) and nothing happens. However I found if I change to pin 15, save then change back to pin 25, the leds light up accordingly, however I lose the screen (goes blank, screen is still lit up). And upon reboot the leds stop working. Half the time the config file turns back off the led mode also. If anyone has ideas I would greatly appriciate it.
Hello,
thanks for your efforts in creating this project!
Does this project also work with the M5Stack Core2 ESP32 IoT Development Kit? The button look different and it is not especially mentioned in the README. The board mentioned in the README is out of stock everywhere (and much more expensive then described in the README I feel) and the Core2 looks very nice and with no buttons which can get unresponsive after a while.
Are there also things possible like a M5Stack model with a luminance sensor to automatically trigger the display brightness somehow?
So interesting this little Nightscout project!
Regards
Marco
This is a great tool! Thanks for your work. As the connection to NS website maybe is instable or server maybe is not online, I would suggest to enhance your tool for grabbing bg values from xdrip via BT and local broadcast. But I'm not a developer...
Can you add an option not to do it. Merci.
It worked and after the update it does not work? I went back to 2020 04 software but it doesn't work either, am I doing something wrong?
Hello.
Is there any plan for adding support for COM.X. This will be useful (at least for me :) )
Thank you.
Am currently away with my trusty M5 nightscout however it refused to connect with my iPhone hotspot until I removed an apostrophe from the Wi-Fi name.
By default iPhone hotspots are set to User’s iPhone
, and although it was saved correctly to the M5NS settings, it would never connect on boot. Removing the apostrophe allowed it to connect immediately.
Hello! Thanks for git, can work M5Stack Core2 ESP32?
I had to change one line in .ino file to
M5.Lcd.invertDisplay(1);
maybe parameter for invertDisplay could be read from properties file?
I wondering if its possible in future to add wifi AP/server when isnt the sidd on sd card, it will open a web server when acess with smartphone and possible to add the new sidd/password and connect on.
This will be fine when you have holidays and cant anticipate the sidd/password, so you dont have to walk with computer.
Thanks
An option to have sound playing continuously (no pauses at all) until snooze button is pressed.
alarm_continuous = 0 or 1 (yes or not)
I has able to install the M5 firmware, and change the sd file config to my server, when i start the M5, it see the boot image, find the ip adress well, the next screen will see the hour, nigthscout name and the last difference mg/dl , after that reboot and start again looping.
Not sure if this issue is specific to me.
I currently have a Medtronic 640g with the Guardian 3 sensor. Whenever I connect a new sensor, Nightscout doesn’t have any readings due to the warm-up state. T M5 goes nuts thinking the levels are 0.2. See photos attached.
I want to start contributing but thought I’d post for now.
As per PR #29, the view could also plot glucometer readings from the /entries data
Investigate the possibility to read data from Dexcom servers and skipping the need for a NS site..
Localize the settings page with the option to select a language from the drop-down list. Put the localization settings in a separate file for translation by the community.
When Nightscout URL is too long it gets corrupted by bootpic name defined in M5NS.INI.
When pressing snooze, value increments by steps of 30 until reaching 180 then returns to 30. This is for high alarms that cannot be fixed in 30 minutes hence forces the user to snooze every 30 min.
When you set the alarm sound to 1, I find the unit is not silent.
It still makes a sound although the setup information says that if you set the sound to 1, it is silent.
I am trying to get my vibrating unit to work but have my M5stack is set to no alarm, the vibrating unit doesn't vibrate. If you set the alarm to 1, the vibrating unit vibrates, but the M5stack still makes a sound and isn't silent. There needs to be a setting to allow the vibrating unit to vibrate but there to be no sound on the M5stack.
Thanks
I'll try to add it myself but missed readings alerts would be cool, just so that you can sleep without worrying.
Release May 12th, off button doesn't do anything. That's voluntary?
if(M5.BtnC.wasPressed()) {
// M5.Lcd.printf("C");
Serial.printf("C");
// M5.setWakeupButton(BUTTON_B_PIN);
// M5.powerOFF();
Application firmware
Current version: 2021033001
Latest version: 2021033001
Hello,
thanks for this really nice project. I bought a m5stack core basic device after I heard about this on Twitter. Setup was easy with your howtos.
I have a small thing I would like to mention as a cosmetic minor issue. I am using "Date format: dd.mm." which I would expect to let the date look like this:
31.12.
01.01.
But it looks like the leading zero on the day is lost somewhere. Currently the today's date looks like this:
8.04.
At least for me it looks "wrong". :-)
Because I have no idea where to find this in the code and because I have no proper coding skills I cannot raise this as a pull request. Therefore I am reporting it as an issue. Sorry for that.
Regards
Marco
I add the Status line with loop info + basal. Very good this information :)
If possible to get ALARM sound when loop not working (ERROR) for more than 15 minutes. So at night is possible to wake up to fix the problem.
Like most of the apps, I would request a different snooze time setting for high and low.
On xDrip, for example, a low = 30 minutes, high = 120 minutes.
My request, if possible:
snooze_timeout_low = 30
snooze_timeout_high = 120
and maybe also:
snooze_timeout_warning_low and snooze_timeout_warning_high
After configuring everything the alarm and warning sound works on initial startup but as soon as it's booted all the way any further alerts or warnings have issues. The device makes a barely audible long beep and at the end of the beep is a quick pop noise. I can't figure out what is goung on. I have the m5stack core 2
Hi Mr. Lukasek.
Is there maybe an option to use this thing with another site as heruko? I am using ns.10be.de and there is only a connection over https available. So the M5 says [HTTP] GET Failed, error: connection refused.
Maybe there is a possibility to do that :(
Hi,
at this point I just wanted to thank you, this is really a cool thing you have made there!
Is it possible to install something like a battery indicator?
I don't know if the M5Stack can do that technically, but it would be a nice thing to be able to estimate the battery performance better :)
Thanks!
BR
smog2002
Hi,
many test users from Debee Facebook Italy Group report to me if you can change the function for define color text and color bacground.
Same for me, is more useful for esample define the limit, like the color for warning message xdrip for ios or for android.
For example :
YELLOW for 180 or HI
WHITE from 85 to 179
RED for 84 or low
where color and number limit is defined from an user (for example, one user can define YELLOW from 150 or above, or ORANGE from 170 or above
Need to filter manual entries.
This is a BG measurement add.
Wiki page is outdated. Need to update it to current version.
Could you release the hex file in Github so that users don't need to setup Arduino with libs, etc.. was thinking about using this: https://forum.arduino.cc/index.php?topic=417659.0
Currently there are 2 queries for JSON data. The first one reads actual glycemia and the second one reads the last 10 values for a minigraph. It could be just one query used to display actual value and the minigraph..
Alarm mute by the middle button for INI defined time.
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.