Search found 241 matches
- 04 Nov 2017, 13:49
- Forum: ESP Easy: General Discussion
- Topic: How to delete config.dat
- Replies: 10
- Views: 10896
Re: How to delete config.dat
Send the command 'reset' (e.g. unter Tools in the GUI) and the ESP ist set to AP mode and deletes the config.
- 03 Nov 2017, 21:58
- Forum: ESP Easy: Software
- Topic: Display - OLED SSD1306
- Replies: 12
- Views: 9720
Re: Display - OLED SSD1306
Yep, name the display 'Display' or what ever. 2 devices with the same name is no good idea. That would be the same if 2 people with the same name live in the same house. Nice for the post man...
- 01 Nov 2017, 12:11
- Forum: ESP Easy: Hardware
- Topic: 0.96 oled SPI configuration
- Replies: 11
- Views: 13351
- 01 Nov 2017, 09:52
- Forum: ESP Easy: Hardware
- Topic: 0.96 oled SPI configuration
- Replies: 11
- Views: 13351
Re: 0.96 oled SPI configuration
Have you read the item description from my link above? The solution stand there (you are in advantage if you had read it!) ..... For the I2C setup it demands a little bit of work on the module. Actually it was one of our customers who shared these simple configuration steps with us, start with resol...
- 01 Nov 2017, 00:21
- Forum: ESP Easy: Hardware
- Topic: 0.96 oled SPI configuration
- Replies: 11
- Views: 13351
Re: 0.96 oled SPI configuration
Are you really sure you have the SPI version? You describe pins for I2C (SDA/SCL) SPI is using a clk, MISO & MOSI pins and a chip-select line. I thought the SPI versions had 7 pins: https://www.banggood.com/7Pin-0_96-Inch-IICSPI-Serial-128x64-White-OLED-Display-Module-p-969266.html?rmmds=buy Mu...
- 01 Nov 2017, 00:14
- Forum: ESP Easy: Hardware
- Topic: 0.96 oled SPI configuration
- Replies: 11
- Views: 13351
Re: 0.96 oled SPI configuration
There is only 1 Pin left: D/C. The "C" could be Chip Select!? Try it. No risk, no fun.
- 31 Oct 2017, 17:15
- Forum: ESP Easy: Hardware
- Topic: APDS-9960 problems
- Replies: 3
- Views: 3818
Re: APDS-9960 problems
You can set the web log level to 3 under "Tools --> Advanced", then you find entries like " APDS : Gesture=DOWN (4)" in the log.
- 31 Oct 2017, 13:03
- Forum: ESP Easy: Hardware
- Topic: APDS-9960 problems
- Replies: 3
- Views: 3818
Re: APDS-9960 problems
And what kind of problem do you have now? I have that sensor in use with the orig. PCB. VL is not necessary to connect. But there are some bugs in the library (see comment in there).
- 30 Oct 2017, 23:43
- Forum: ESP Easy: Software
- Topic: How to configure switch input?
- Replies: 3
- Views: 3112
Re: How to configure switch input?
Internal PullUp: yes (if button goes to GND) Inversed: No Delay: 0 Switch type: Switch for e.g. door opener, active low for e.g. light switch (on/off) IDX is for domoticz That should work so far... The rules: on Button#State do if [Button#State]=1 gpio 12,1 else gpio 12,0 endif endon More in the Wik...
- 30 Oct 2017, 22:40
- Forum: ESP Easy: Hardware
- Topic: 0.96 oled SPI configuration
- Replies: 11
- Views: 13351
Re: 0.96 oled SPI configuration
SDA and SCL are I2C. MISO and MOSI are described under "Hardware --> SPI Interface" where to connect to.
- 25 Oct 2017, 10:14
- Forum: ESP Easy: Software
- Topic: ESPEASY WITH RFID PN532 AND DOMOTICZ
- Replies: 3
- Views: 3535
Re: ESPEASY WITH RFID PN532 AND DOMOTICZ
I have the same in use. I'm using rules in ESP Easy to do the job.
E.g.
on rfid#tag=123456789 do
publish domoticz/in,{"idx":123,"nvalue":0,"svalue":"ItsMe"}
event opendoor
endon
E.g.
on rfid#tag=123456789 do
publish domoticz/in,{"idx":123,"nvalue":0,"svalue":"ItsMe"}
event opendoor
endon
- 24 Oct 2017, 14:20
- Forum: ESP Easy: Software
- Topic: Experience with core 2.4.0
- Replies: 4
- Views: 4460
Experience with core 2.4.0
I tried now the core 2.4.0-RC2 for a while and here is my experience: The numbers and letters on the web-interface can be removed before compiling. No problem for that. But: It is messing sometimes the rules and formula!!! If you are only upgrading and change nothing, it works stable so far.... Feel...
- 23 Oct 2017, 21:14
- Forum: ESP Easy: Hardware
- Topic: SSD1306 can't get it to work
- Replies: 12
- Views: 12658
Re: SSD1306 can't get it to work
Yep, it's only SPI. There is no interface selector on the back. And the resolution is in fact poor. Looks more like a LEGO graphics display....
- 23 Oct 2017, 20:10
- Forum: ESP Easy: Software
- Topic: IF statement on %eventvalue%
- Replies: 16
- Views: 13179
Re: IF statement on %eventvalue%
Ok, now I got it. The "=" after event name was wrong (I had ",")...
- 23 Oct 2017, 19:44
- Forum: ESP Easy: Software
- Topic: IF statement on %eventvalue%
- Replies: 16
- Views: 13179
Re: IF statement on %eventvalue%
I've tested it and does not work for me. I mean, you can not transmit values to an event. The parser seems to ignore more than 1 value after "event". It is only interested in the event name....
The messed rules seem to be an issue of core 2.4.0....
The messed rules seem to be an issue of core 2.4.0....
- 23 Oct 2017, 19:20
- Forum: ESP Easy: Software
- Topic: IF statement on %eventvalue%
- Replies: 16
- Views: 13179
Re: IF statement on %eventvalue%
Not working. Messed the rules! BTW: TaskValueSet need 3 parameter...
- 23 Oct 2017, 15:15
- Forum: ESP Easy: Software
- Topic: IF statement on %eventvalue%
- Replies: 16
- Views: 13179
Re: IF statement on %eventvalue%
What about the rule
on configFlowSensor do
if [configFlowSensor#ValueOfDevice] = 1
// Do something like set a GPIO output
endif
endon
@grovkillen: You wrote "use the TaskValueSet via cmd". TaskValueSet is declared in the Wiki as rule command only, not for external usage!
on configFlowSensor do
if [configFlowSensor#ValueOfDevice] = 1
// Do something like set a GPIO output
endif
endon
@grovkillen: You wrote "use the TaskValueSet via cmd". TaskValueSet is declared in the Wiki as rule command only, not for external usage!
- 22 Oct 2017, 21:49
- Forum: ESP Easy: Projects / Applications
- Topic: GPIO Save Last Status to Boot State
- Replies: 2
- Views: 3199
Re: GPIO Save Last Status to Boot State
You can realize this with retained MQTT. The ESP itself does not store this state.
- 22 Oct 2017, 12:32
- Forum: ESP Easy: General Discussion
- Topic: how to Send value using MQTT or HTTP
- Replies: 5
- Views: 3437
Re: how to Send value using MQTT or HTTP
Have you tried in the rules "TaskValueSet 4,1,[TaskName#Value]"? TaskValueSet is only allowed in rules, not from extern (see Wiki)!
- 22 Oct 2017, 12:26
- Forum: ESP Easy: Software
- Topic: KRACK vulnerability
- Replies: 16
- Views: 12569
Re: KRACK vulnerability
Ok, it works. But, webserver.ino is part of ESP Easy not the core! So, there must be somewhere a trigger from the core that ESP Easy shows that values. With 2.3.0 that values are not shown...
Update: I flashed all my ESPs with 2.4.0. core now. Let's see what's happening....
Update: I flashed all my ESPs with 2.4.0. core now. Let's see what's happening....
- 21 Oct 2017, 19:14
- Forum: ESP Easy: General Discussion
- Topic: MQTT help
- Replies: 4
- Views: 5459
Re: MQTT help
I think, one of the most popular is Mosquitto. See their Wiki for installation.
https://mosquitto.org/
https://mosquitto.org/
- 21 Oct 2017, 13:42
- Forum: ESP Easy: General Discussion
- Topic: Timer less than 1 sec is possible?
- Replies: 7
- Views: 5745
Re: Timer less than 1 sec is possible?
Can you send HTTP commands? Then try this:
Example to send an active high pulse on GPIO 2 for 300 mSec:
http://<ESP IP address>/control?cmd=Pulse,2,1,300 (1=high impulse, 0=low impulse)
Example to send an active high pulse on GPIO 2 for 300 mSec:
http://<ESP IP address>/control?cmd=Pulse,2,1,300 (1=high impulse, 0=low impulse)
- 18 Oct 2017, 23:48
- Forum: ESP Easy: General Discussion
- Topic: Enablebit - Switching via HTTP:// ???
- Replies: 5
- Views: 3589
Re: Enablebit - Switching via HTTP:// ???
You can solve the problem with a dummy device and rules. E.g. on dummy#enabled = 1 do timerset 1,1 endon on rules#timer = 1 do if [dummy#enabled] = 1 // sendto or publish the value you want to know timerset 1,x (x=interval in sec you want the value) endif endon Send 0 to dummy#enabled (e.g. with tas...
- 18 Oct 2017, 23:24
- Forum: ESP Easy: General Discussion
- Topic: try to upload the lastest espeasy but it start to reload contineously
- Replies: 3
- Views: 2813
Re: try to upload the lastest espeasy but it start to reload contineously
@Shardan: Try "resetFlashWriteCounter"
- 18 Oct 2017, 21:59
- Forum: ESP Easy: Hardware
- Topic: SSD1306 can't get it to work
- Replies: 12
- Views: 12658
Re: SSD1306 can't get it to work
I also have a SSD1306 with 7 pins, it should be full color according to the chinese webshop where I bought it. https://photos.app.goo.gl/cU1maYoLaheKxdVc2 (front and back picture) is there a possibility to get this working in ESPEasy ? Regards, Dirk The 7 pins mean SPI + I²C interface. You must loo...
- 18 Oct 2017, 18:43
- Forum: ESP Easy: General Discussion
- Topic: how to Send command using MQTT broker service
- Replies: 6
- Views: 5047
Re: how to Send command using MQTT broker service
What else should the terminal report? Maybe there ist a bit more in the log (Tools -> Log). Under Tools -> Advanced set the web log Level to 3 and check it out what it reports (I have no IR-module in use...)
- 18 Oct 2017, 11:56
- Forum: ESP Easy: Projects / Applications
- Topic: HDC1080 is not showing any value in Domoticz
- Replies: 8
- Views: 7208
Re: HDC1080 is not showing any value in Domoticz
A screenshot of the device config would be good. Have you checked the IDX is the same as in Domoticz?
- 18 Oct 2017, 10:43
- Forum: ESP Easy: Projects / Applications
- Topic: Esp8266 + relay + normal switch rules coding
- Replies: 2
- Views: 3338
Re: Esp8266 + relay + normal switch rules coding
You wrote " relay value: state 1 or state 2" and in the rules "if [relay#state]=0"? When is it 0 to do something? I think it should be 1 or 2. It's also better to use the logical values 0 and 1 for a switch/relay. It's a bit more international... ;) And: publish %sysname%/relay/g...
- 16 Oct 2017, 11:38
- Forum: ESP Easy: General Discussion
- Topic: how to Send command using MQTT broker service
- Replies: 6
- Views: 5047
Re: how to Send command using MQTT broker service
When I use mqtt to send infrared remote control instructions, but I don't know how to set up topic I set it up like this, it didn't work: mosquitto_pub -t /%sysname%/%taskname% -m'code' Has anyone ever had the same problem? A space is missing after -m! And a host name with -h would be nice.... Use ...
- 16 Oct 2017, 10:07
- Forum: ESP Easy: General Discussion
- Topic: Config Parameter lost after reboot
- Replies: 10
- Views: 7384
Re: Config Parameter lost after reboot
Might be a max flash write exceeded? I don't understand what you all make for a stress with that? From the Winbond data sheet for a W25Qxx: .... – Up to 100,000 erase/write cycles – 20-year data retention This chips are build-in in a lot of TVs for storing each data. Meaning, each change of the cha...
- 15 Oct 2017, 21:36
- Forum: ESP Easy: General Discussion
- Topic: Config Parameter lost after reboot
- Replies: 10
- Views: 7384
Re: Config Parameter lost after reboot
Can not happen to me.....
- 15 Oct 2017, 20:23
- Forum: ESP Easy: General Discussion
- Topic: Config Parameter lost after reboot
- Replies: 10
- Views: 7384
Re: Config Parameter lost after reboot
ESPEasy is not build to store device valure to restore previous status on reboot. It's a feature that coudl come with future release but not in the current one. e.g. if you have a GPIO=HIGH and you reboot that GPIO will be set to whatever is in the hardware page... But he can realize this with a re...
- 15 Oct 2017, 17:40
- Forum: ESP Easy: General Discussion
- Topic: Config Parameter lost after reboot
- Replies: 10
- Views: 7384
Re: Config Parameter lost after reboot
We need more infos to help. E.g. config of the device, rules, used controller....
- 13 Oct 2017, 21:40
- Forum: ESP Easy: General Discussion
- Topic: deep sleep not working
- Replies: 6
- Views: 4585
Re: deep sleep not working
hi, I am using mega 2.0 V12 and I have connected GPIO16 and RST in order to have deep sleep available. When I check deep sleep in the frontend with 120s delay, it doesn't work. Same issue with V11... are there any known issues with espeasy? can I check somehow, whether the esp accepts the new setti...
- 13 Oct 2017, 21:34
- Forum: ESP Easy: Software
- Topic: Deep Sleep mode
- Replies: 26
- Views: 52828
Re: Deep Sleep mode
I have one ESP-12F in use with a normal 9V battery. It runs for 6-7 weeks now. It sends only 1-2 times a day the state of a switch. So, the sleep mode seems to work....
- 13 Oct 2017, 14:50
- Forum: ESP Easy: Software
- Topic: Deep Sleep mode
- Replies: 26
- Views: 52828
Re: Deep Sleep mode
I do not understand how to set the frequency of values... The DHT22 doesn't send value automaticly ? you need to wake up the ESP for take the value ? But i think i have find the real problem, it's my board "NodeMCU" that consume too much. Have you ever had this problem ? I assume ESPeasy ...
- 12 Oct 2017, 22:09
- Forum: ESP Easy: Software
- Topic: Deep Sleep mode
- Replies: 26
- Views: 52828
Re: Deep Sleep mode
I doesn't have "sleep delay" but sensor delay, what is the difference ? See my post #20. Device delay is for how often the sensor send values. So, switches are normally set to 0, sensors delay depends on how often you want updates of the values. So check out the Wiki for more detailed inf...
- 12 Oct 2017, 12:19
- Forum: ESP Easy: Software
- Topic: Deep Sleep mode
- Replies: 26
- Views: 52828
Re: Deep Sleep mode
Hello, I have a ESP8266 with a DHT22 and a batttery 600mA and the battery hold 2 days... i have connected D0 to RST and put the deep sleep ON with 60 sec of delay. i don't now what is the problem because the consumption is assumed to be 20µA Help me please ! Try Sleep enabled:YES, Sleep Delay: 0, S...
- 12 Oct 2017, 12:04
- Forum: ESP Easy: Software
- Topic: Deep Sleep mode
- Replies: 26
- Views: 52828
Re: Deep Sleep mode
Just fiddling around with deep sleep and I feel very stupid, but i am unable to locate where to define the Sleep Delay setting... Can somebody help? It's on the Config page direct over the "Submit" button. ;) And this is useful to know... https://www.letscontrolit.com/wiki/index.php/Sleep...
- 10 Oct 2017, 12:59
- Forum: ESP Easy: Software
- Topic: Domoticz MQTT: read works, but cannot control relay
- Replies: 36
- Views: 29256
Re: Domoticz MQTT: read works, but cannot control relay
Can't beleive that this should work. :?: I see in your 1st post, that you are sending the command twice! Over MQTT and over HTTP from Domoticz. Empty the "ON Action" fields (to be sure only sending over MQTT!) and look if it still works and the GPIO state change. I would bet, that it doesn...
- 09 Oct 2017, 09:41
- Forum: ESP Easy: Software
- Topic: add new SSD1306 OLED Display Size
- Replies: 28
- Views: 26725
Re: add new SSD1306 OLED Display Size
No, I changed only the _P036_FrameOLED.ino. The result looks now like this...
- 09 Oct 2017, 09:35
- Forum: ESP Easy: Software
- Topic: Domoticz MQTT: read works, but cannot control relay
- Replies: 36
- Views: 29256
Re: Domoticz MQTT: read works, but cannot control relay
Not without the use of the "Domoticz Helper (P29)"
- 08 Oct 2017, 22:47
- Forum: ESP Easy: Software
- Topic: add new SSD1306 OLED Display Size
- Replies: 28
- Views: 26725
Re: add new SSD1306 OLED Display Size
I have this display in use. I kicked some stuff like the top line, the indicator and limited to 2 lines. Works good for me now.
- 08 Oct 2017, 17:37
- Forum: ESP Easy: Software
- Topic: Domoticz MQTT: read works, but cannot control relay
- Replies: 36
- Views: 29256
Re: Domoticz MQTT: read works, but cannot control relay
Come on guys, will you tell me that this little piece of code from Output.ino (P029) does not fit into the Controller.ino (or _C002 ??) to make the extra plug-in unnecessary? // We need the index of the controller we are: 0-CONTROLLER_MAX byte controllerNr = 0; for (byte i=0; i < CONTROLLER_MAX; i++...
- 05 Oct 2017, 21:44
- Forum: ESP Easy: Projects / Applications
- Topic: Solved: Is it possible to send a short and long pulse?
- Replies: 9
- Views: 6841
Re: Is it possible to send a short and long pulse?
That comes from digging deeper and deeper in the source code.
- 05 Oct 2017, 21:41
- Forum: ESP Easy: Projects / Applications
- Topic: Solved: Is it possible to send a short and long pulse?
- Replies: 9
- Views: 6841
Re: Is it possible to send a short and long pulse?
Not bad, ha? I grow to an ESPeasy expert....
- 05 Oct 2017, 21:34
- Forum: ESP Easy: Projects / Applications
- Topic: Solved: Is it possible to send a short and long pulse?
- Replies: 9
- Views: 6841
Re: Is it possible to send a short and long pulse?
It's very simple! Make a switch input in "Devices" and config it as "Normal switch" and set "Internal PullUp" checked. Configure the GPIO with the relay as Output Low in "Hardware" and use this rule: My example config: switch on GPIO0 (Button and State), relay...
- 04 Oct 2017, 21:28
- Forum: ESP Easy: Projects / Applications
- Topic: Button mqtt (espeasy) for turn ON sonoff on other place (SOLVED)
- Replies: 28
- Views: 23356
Re: Button mqtt (espeasy) for turn ON sonoff on other place
No problem. You are welcome. I know this, because I have all the crap already behind me....
- 04 Oct 2017, 18:28
- Forum: ESP Easy: Projects / Applications
- Topic: Button mqtt (espeasy) for turn ON sonoff on other place (SOLVED)
- Replies: 28
- Views: 23356
Re: Button mqtt (espeasy) for turn ON sonoff on other place
Ah,ok. I know that problem (had the same with Domoticz). I had to press the button twice to be in sync again with the relay on other device. Change the rule on sonoff1 in: on relay#state do if [relay#state]=1 GPIO,12,1 Publish /sonoff1/RelayStatus,1 SendTo 2,inputswitchstate 0,1 else GPIO,12,0 Publi...
- 04 Oct 2017, 18:09
- Forum: ESP Easy: Projects / Applications
- Topic: Button mqtt (espeasy) for turn ON sonoff on other place (SOLVED)
- Replies: 28
- Views: 23356
Re: Button mqtt (espeasy) for turn ON sonoff on other place
Try this:
Make sonoff1 = Unit Number 1 (see Config page)
Make sonoff2 = Unit Number 2
On sonoff2 rule:
on button#state do
if [button#state]=0
SendTo 1,gpio,12,0
else
SendTo 1,gpio,12,1
endif
endon
Make sonoff1 = Unit Number 1 (see Config page)
Make sonoff2 = Unit Number 2
On sonoff2 rule:
on button#state do
if [button#state]=0
SendTo 1,gpio,12,0
else
SendTo 1,gpio,12,1
endif
endon