Speaker function ?
Moderators: grovkillen, Stuntteam, TD-er
Re: Speaker function ?
I needed speaker support myself to build an Alarm system for my home. Needed the alarm to give audio feedback. (e.g. alarm enable/disable tones, window-open notification sounds etc)
I cleaned up the code (identation), and moved the functions to Misc.ino
Its avaiable in v1.1.0-beta7 in the testing plugin-set.
Edwin
I cleaned up the code (identation), and moved the functions to Misc.ino
Its avaiable in v1.1.0-beta7 in the testing plugin-set.
Edwin
Re: Speaker function ?
I have uploaded version dev6
https://github.com/letscontrolit/ESPEasy/releases
It is written in the description
https://github.com/letscontrolit/ESPEasy/releases
It is written in the description
I get the messageImplemented speaker and tone functions from https://www.letscontrolit.com/forum/vie ... r&start=10
Unknown or restricted command!
Re: Speaker function ?
Its in the testing plugin set. So you need the test or dev firmware version.
I just updated the wiki: https://www.letscontrolit.com/wiki/index.php/GPIO
I just updated the wiki: https://www.letscontrolit.com/wiki/index.php/GPIO
Re: Speaker function ?
After being exchanged plugin _P001_Switch forum
https://www.letscontrolit.com/forum/vie ... ?f=4&t=343
melodies work
It seems that in the dev version 6 is a mistake
https://www.letscontrolit.com/forum/vie ... ?f=4&t=343
melodies work
It seems that in the dev version 6 is a mistake
Re: Speaker function ?
uuuhh ...what do you mean?kniazio wrote: ↑14 Mar 2017, 07:00 After being exchanged plugin _P001_Switch forum
https://www.letscontrolit.com/forum/vie ... ?f=4&t=343
melodies work
It seems that in the dev version 6 is a mistake
Re: Speaker function ?
I mean that with version dev6 wrote melodies that have been added.psy0rz wrote: ↑14 Mar 2017, 10:34uuuhh ...what do you mean?kniazio wrote: ↑14 Mar 2017, 07:00 After being exchanged plugin _P001_Switch forum
https://www.letscontrolit.com/forum/vie ... ?f=4&t=343
melodies work
It seems that in the dev version 6 is a mistake
These tunes do not work
I see that RTTTL code is added to the plugin misc.ino but it did not work.
I swapped the old plugin _P001_Switch.ino and melodies work
I did it according to the description of the forum
https://www.letscontrolit.com/forum/vie ... ?f=4&t=343
post 7
Re: Speaker function ?
After sending the command:
I get the answer:
In contrast, using a modified plugin _P001_Switch.ino
After sending the command:
I get the answer:
Code: Select all
http://192.168.0.3/control?cmd=rtttl,14:d=8,o=5,b=180,c6,b,c6,p,g,g-,p,f,b,c6,p,d6,p,g,p,c6,b,c6,p,d6,p,f,g,g-,4p,g,f,4d-
Code: Select all
Unknown or restricted command!
After sending the command:
Code: Select all
http://192.168.0.3/control?cmd=rtttl,14:d=8,o=5,b=180,c6,b,c6,p,g,g-,p,f,b,c6,p,d6,p,g,p,c6,b,c6,p,d6,p,f,g,g-,4p,g,f,4d-
Code: Select all
{
"log": "rtttl,14:d=8,o=5,b=180,c6",
"plugin": 1,
"pin": 14,
"mode": "output",
"state": 0
}
Re: Speaker function ?
You have to use the correct binary.
If you have 4096Mb flash use: ESPEasy_v2.0.0-dev6_dev_4096.bin
If you have 1024MB flash use: ESPEasy_v2.0.0-dev6_dev_1024.bin
Notice the _dev_ at the end, that means: All the plugins that are in testing and development state.
If you have 4096Mb flash use: ESPEasy_v2.0.0-dev6_dev_4096.bin
If you have 1024MB flash use: ESPEasy_v2.0.0-dev6_dev_1024.bin
Notice the _dev_ at the end, that means: All the plugins that are in testing and development state.
Re: Speaker function ?
I do not use ready .bin file alone compile
In the previous post I explained to guess exactly what's going on
Re: Speaker function ?
I still have to adjust the tutorials for that.
If you compile it now, it will not comile the TEST and DEV plugins.
if you add this to ESPEasy.ino it will work, without the other adjustments you made:
#define PLUGIN_BUILD_DEV
#define PLUGIN_BUILD_TESTING
If you compile it now, it will not comile the TEST and DEV plugins.
if you add this to ESPEasy.ino it will work, without the other adjustments you made:
#define PLUGIN_BUILD_DEV
#define PLUGIN_BUILD_TESTING
Re: Speaker function ?
I do not understand what you mean.
I believe that in the file Misc.ino is an error, and therefore tunes do not work.
Why work with a file _P001_Switch.ino?
I believe that in the file Misc.ino is an error, and therefore tunes do not work.
Why work with a file _P001_Switch.ino?
- Attachments
-
- _P001_Switch_z melodyjkami.rar
- (3.5 KiB) Downloaded 244 times
Re: Speaker function ?
I fixed the tutorial and source code.
Use v2.0.0-dev7 , follow this tutorial: https://www.letscontrolit.com/wiki/inde ... are_Upload
make sure you enable the testing plugin set. (in espeasy.ino)
Edwin
Use v2.0.0-dev7 , follow this tutorial: https://www.letscontrolit.com/wiki/inde ... are_Upload
make sure you enable the testing plugin set. (in espeasy.ino)
Edwin
Re: Speaker function ?
Unknown or restricted command!
Who is online
Users browsing this forum: No registered users and 95 guests