{"action":"created","issue":{"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/3628","repository_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota","labels_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/3628/labels{/name}","comments_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/3628/comments","events_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/3628/events","html_url":"https://github.com/arendst/Sonoff-Tasmota/issues/3628","id":355001670,"node_id":"MDU6SXNzdWUzNTUwMDE2NzA=","number":3628,"title":"Tasmota needs sound !!","user":{"login":"gemu2015","id":11647075,"node_id":"MDQ6VXNlcjExNjQ3MDc1","avatar_url":"https://avatars1.githubusercontent.com/u/11647075?v=4","gravatar_id":"","url":"https://api.github.com/users/gemu2015","html_url":"https://github.com/gemu2015","followers_url":"https://api.github.com/users/gemu2015/followers","following_url":"https://api.github.com/users/gemu2015/following{/other_user}","gists_url":"https://api.github.com/users/gemu2015/gists{/gist_id}","starred_url":"https://api.github.com/users/gemu2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemu2015/subscriptions","organizations_url":"https://api.github.com/users/gemu2015/orgs","repos_url":"https://api.github.com/users/gemu2015/repos","events_url":"https://api.github.com/users/gemu2015/events{/privacy}","received_events_url":"https://api.github.com/users/gemu2015/received_events","type":"User","site_admin":false},"labels":[{"id":527619884,"node_id":"MDU6TGFiZWw1Mjc2MTk4ODQ=","url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2018-08-29T05:24:46Z","updated_at":"2018-09-08T04:59:37Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"i created an MP3 driver for this extremely cheap MP3 Player => DFPlayer mini (<2 Euros, 3 watt audio)\r\n3 commands:\r\n\r\nMP3Play track     track =>1-N\r\nMP3Volume volume  volume => 0-100\r\nMP3Stop\r\n\r\nyou simply place any mp3 files on a micro sd card and can then play it\r\ni use it for sensor alarms when e.g. air quality is too bad\r\nand i want to use it for extending my haus alarm siren\r\nyou could even think of an alarm clock with different alarm sounds or even musik.\r\n\r\nit consumes nearly no resources, needs only one pin (software uart transmit)\r\n\r\nattached is the (tiny) driver file. simply add it to the project (currently uses fixed GPIO 16 as transmit)\r\n\r\n[xdrv_98_mp3.ino.zip](https://github.com/arendst/Sonoff-Tasmota/files/2332006/xdrv_98_mp3.ino.zip)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/comments/419613194","html_url":"https://github.com/arendst/Sonoff-Tasmota/issues/3628#issuecomment-419613194","issue_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/3628","id":419613194,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTYxMzE5NA==","user":{"login":"mike2nl","id":5562918,"node_id":"MDQ6VXNlcjU1NjI5MTg=","avatar_url":"https://avatars1.githubusercontent.com/u/5562918?v=4","gravatar_id":"","url":"https://api.github.com/users/mike2nl","html_url":"https://github.com/mike2nl","followers_url":"https://api.github.com/users/mike2nl/followers","following_url":"https://api.github.com/users/mike2nl/following{/other_user}","gists_url":"https://api.github.com/users/mike2nl/gists{/gist_id}","starred_url":"https://api.github.com/users/mike2nl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mike2nl/subscriptions","organizations_url":"https://api.github.com/users/mike2nl/orgs","repos_url":"https://api.github.com/users/mike2nl/repos","events_url":"https://api.github.com/users/mike2nl/events{/privacy}","received_events_url":"https://api.github.com/users/mike2nl/received_events","type":"User","site_admin":false},"created_at":"2018-09-08T04:59:37Z","updated_at":"2018-09-08T04:59:37Z","author_association":"CONTRIBUTOR","body":"so have doen some rule tests under Version\":\"6.2.0.2\". My merge request version.\r\nHave to do the same with the latest version.\r\n\r\nRule Test 1:\r\nrule1 on Time#Minute do mp3play 001 endon = worked every minute\r\n- After 10 seconds i typed mp3stop.\r\n\r\nRule Test 2:\r\nrule1 on Time#Minute do backlog mp3play 001; ruletimer1 10 endon on rules#timer=1 do mp3stop endon = worked every minute\r\n- But sometimes it looks that the mp3stop command after 10 seconds is to fast,\r\nbecause he doe'nt stopped. Have to do the same with the latest version and a\r\ntimer value of 15, 20, 25 and son the see where it hangs. It can be the code too.\r\nWhen this is not differnet than now i will chnage the if and else if inot a state \r\nmachine switch() it's faster and mnore secure. Also better for the next stage of\r\ndevelopment."}}
{"actor":{"display_login":"mike2nl"}}