coxtor / simple-clock-broadcasts Goto Github PK
View Code? Open in Web Editor NEWThis project forked from simplemobiletools/simple-clock
A combination of a clock, alarm, stopwatch and timer.
License: GNU General Public License v3.0
This project forked from simplemobiletools/simple-clock
A combination of a clock, alarm, stopwatch and timer.
License: GNU General Public License v3.0
First, thanks for this great project!
I have just started using it for my wakeup light that tries to simulate a sunrise.
My setup is the following: an ESP8266 + LED strip running a web server. When a silent alarm is triggered, an HTML request is sent to the ESP8266's webserver which triggers the sunrise effect. And it just works!
When a new alarm is set, the audible and related silent alarm is set by default with the same time. For instance when I create an audible alarm for 8:30, the related silent alarm is set to 8:30 when created.
I wish there would be a parameter in the app to say: set the silent alarm "x" minutes before the related alarm, so I don't have to set it every time I set a new alarm. For instance, if x=30, the silent alarm would be set to 8:00 when created.
Not a big deal but it could make life a little easier, what do you think?
First i wanted to thank you for creating this project. I got a bunch of ideas how to automate things now ๐
Some broadcastst (like com.simplemobiletools.ALARM_SNOOZED) are not working for me. They do not show up in logcat. Here is what i did:
adb logcat *:v | grep '\"com.simplemobiletools\.'
04-19 18:01:00.419 13722 13722 I MqttConnection: Enqueueing new message: {"action":"com.simplemobiletools.ALARM_GOING_TO_RING","alias":"going to ring","count":3,"id":15,"days":127,"hours":18,"label":"test","minutes":1}
04-19 18:01:00.419 13722 13722 D MqttConnection: MqttQueueItem {retries: 3, timeout: Sun Apr 19 18:01:30 GMT+02:00 2020, payload: {"action":"com.simplemobiletools.ALARM_GOING_TO_RING","alias":"going to ring","count":3,"id":15,"days":127,"hours":18,"label":"test","minutes":1}, topic: android}
04-19 18:01:00.420 13722 13722 I MqttConnection: Message Published (QOS: 0): MqttQueueItem {retries: 3, timeout: Sun Apr 19 18:01:30 GMT+02:00 2020, payload: {"action":"com.simplemobiletools.ALARM_GOING_TO_RING","alias":"going to ring","count":3,"id":15,"days":127,"hours":18,"label":"test","minutes":1}, topic: android}
(Not relevant, but i want to send mqtt messages to create different automations depending on if i snooze or turn the alarm off.)
Alias:
going to ring
Action:
com.simplemobiletools.ALARM_GOING_TO_RING
mqtt publish topic:
android
Rate limit:
0
Alias:
going to ring
Action:
com.simplemobiletools.ALARM_SNOOZED
mqtt publish topic:
android
Rate limit:
0
Message 11 received on android at 6:02 PM:
{
"action": "com.simplemobiletools.ALARM_GOING_TO_RING",
"alias": "going to ring",
"count": 3,
"id": 15,
"days": 127,
"hours": 18,
"label": "test",
"minutes": 1
}
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.