Giter VIP home page Giter VIP logo

simple-clock-broadcasts's People

Contributors

10cents avatar anescient avatar compgame356 avatar coxtor avatar cymrodor avatar disqu3-miroir-qt avatar en2sv avatar fricyo avatar fscholdei avatar ftno avatar gozzwip avatar guitarbilly avatar herkul-s avatar kevinminions avatar kniddl avatar ltguillaume avatar matheusvictor avatar matteoarrighi avatar motomoto7 avatar obibon avatar pcpepik avatar scratchbuild avatar smarquespt avatar tibbi avatar trubitsyn avatar twckr avatar zmni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

brendanball

simple-clock-broadcasts's Issues

No default time for silent alarm

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?

Some broadcasts are not working

First i wanted to thank you for creating this project. I got a bunch of ideas how to automate things now ๐Ÿ˜„

Problem

Some broadcastst (like com.simplemobiletools.ALARM_SNOOZED) are not working for me. They do not show up in logcat. Here is what i did:

  1. Set an alarm for 18:01 (Screenshot taken at 18:02, i set the alarm at 17:59)
  2. Create the silent alarm
  3. Wait for the alarm to ring (That Broadcast is generated fine as you can see in logcat)
  4. Snooze the alarm. No Broadcast shows up in logcat.

signal-attachment-2020-04-19-180223

Logcat:

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}

My broadcast2mqtt app settings:

(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

Mqtt log, only one message showing up:

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
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.