Search found 38 matches

by xury
05 Apr 2019, 23:07
Forum: ESP Easy: General Discussion
Topic: what is best android push notification app for espeasy?
Replies: 1
Views: 135

Re: what is best android push notification app for espeasy?

I think much easy will be using telegram as same way as old domoticz solution using http request.
by xury
03 Apr 2019, 14:43
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 137
Views: 48491

Re: Support for PZEM 004T Energy monitor

Very good idea.
What is the reading time of all sensors?
How often can you read?
by xury
16 Feb 2019, 02:42
Forum: ESP Easy: Software
Topic: longpress action without first have the shortpress action
Replies: 3
Views: 195

Re: longpress action without first have the shortpress action

You not using a timer to determine when is a short press and when is a long.
See at rules tutorial info:

Code: Select all

on Button#State=1 do
  timerSet,1,1
endon

on rules#timer=1 do
 if [Button#State]=0
  //Action if button is short pressed
 else
  //Action if button is still pressed
 endif
endon
by xury
09 Feb 2019, 00:03
Forum: ESP Easy: General Discussion
Topic: Can't compile with a new plugin (PZEM004T)
Replies: 22
Views: 2943

Re: Can't compile with a new plugin (PZEM004T)

For me it does not work too. But i get connected another uart converter to tx from pzem module and it send data, but showing only zero values on devices page. Below is a scrren from hercules due sending data from pzem module. I tried changing pins, enabling input, comile with different cores etc. an...
by xury
11 Dec 2018, 21:33
Forum: ESP Easy: Projects / Applications
Topic: Calculating kWh from Amps+Volts
Replies: 8
Views: 618

Re: Calculating kWh from Amps+Volts

So you have to feature request Nettemp developers for derive and difference functions over time. Tu calculate kWh need stored all momentary values over the time. Espeasy doses not have a storing database, so calculate derivative is not possible without stored data. Data store is not possible without...
by xury
11 Dec 2018, 15:50
Forum: ESP Easy: Projects / Applications
Topic: Calculating kWh from Amps+Volts
Replies: 8
Views: 618

Re: Calculating kWh from Amps+Volts

I don't think so.

To compute kWh from recent instantaneous power you have to calculate derivative.
What a database you use?
I had influxdb with grafana and is possible with it. But you have to set a server machine.
grafana.jpg
grafana.jpg (165.26 KiB) Viewed 611 times
by xury
03 Dec 2018, 15:26
Forum: ESP Easy: General Discussion
Topic: Reading data from Domoticz to nodeMCU
Replies: 3
Views: 344

Re: Reading data from Domoticz to nodeMCU

Reading data from dummy sensor in domoticz is not so easy. You have to create your own lua/dzEvents script and trigger it.
Even domoticz remote server can't pass dummy data.
by xury
26 Sep 2018, 22:36
Forum: ESP Easy: Software
Topic: Software problem with BME280 (today RC)
Replies: 4
Views: 453

Re: Software problem with BME280 (today RC)

I just checked and for me BME280 works well on this release (24.09). All values on 76 address displayed.
by xury
24 Sep 2018, 21:56
Forum: ESP Easy: General Discussion
Topic: Push button state without toggle
Replies: 7
Views: 634

Re: Push button state without toggle

Did you marked internal pull-up?
And set to "Push button active low"
by xury
23 Sep 2018, 10:16
Forum: ESP Easy: General Discussion
Topic: How to switch two Oled task on the same display?
Replies: 3
Views: 447

Re: How to switch two Oled task on the same display?

I added my first issue for this ability.
I don't know how to label "Feature request"
https://github.com/letscontrolit/ESPEasy/issues/1783
by xury
22 Sep 2018, 01:25
Forum: ESP Easy: General Discussion
Topic: How to switch two Oled task on the same display?
Replies: 3
Views: 447

How to switch two Oled task on the same display?

Hello. Is it possible to switch tasks in any way? I have one OLED connected to Wemos D1 mini. I have two tasks for the OLED display. The first task uses the normal mode and the second task uses a framed mode Of course, I do not want them to work at the same time. I would like to be able to switch th...
by xury
06 Sep 2018, 22:43
Forum: ESP Easy: Software
Topic: Cant connect after update mega-20180822
Replies: 7
Views: 758

Re: Cant connect after update mega-20180822

I had the same issue two months ago with the exactly same hardware. I don't remember what exactly was a espeasy version. After i tried reflash with another versions and still did not connected. Finally I flash whole flash area with blank 4mb file and next with firmware what previously was not connec...
by xury
04 Jul 2018, 22:17
Forum: ESP Easy: Software
Topic: sunrise/sunset to be used in rule
Replies: 14
Views: 2431

Re: sunrise/sunset to be used in rule

Perhaps that way:

Code: Select all

on Clock#Time=All,%sunrise% do
 if <test>
   <action>
   <action>
 endif
endon
by xury
04 Jul 2018, 00:07
Forum: ESP Easy: Software
Topic: time zone and offset
Replies: 2
Views: 545

Re: time zone and offset

What exactly build you use?
Timezone offset is nearly above location settings.
by xury
26 Jun 2018, 23:42
Forum: ESP Easy: General Discussion
Topic: Why some kind of events does not show on OLED SSD1306?
Replies: 1
Views: 299

Why some kind of events does not show on OLED SSD1306?

Hi I wanted to send some of data using SendTo And its works because I see it in logs on another device with values but I can't display the value on OLED. Same as I tried to display [Clock#Time] its also not show. I know %systime% is displayed well, but why some values is possible to display and some...
by xury
26 Jun 2018, 23:21
Forum: ESP Easy: Projects / Applications
Topic: ESP EASY sending data
Replies: 3
Views: 854

Re: ESP EASY sending data

I think is could be a bug in ser2net plugin because !Serial# does not have a value name so %eventvalue% does not work.
by xury
26 Jun 2018, 23:15
Forum: ESP Easy: Software
Topic: Serial input to MQTT
Replies: 2
Views: 648

Re: Serial input to MQTT

Hi I just read about your problem and I have an idea. On !Serial# do publish home/ESP07/Alarm,%eventvalue% Endon Because !Serial# does not have a value name. You can try use a prefix on sending data as: myname= and after send your data Obviously if you have an impact on the format of the data being ...
by xury
02 Jun 2018, 01:29
Forum: ESP Easy: General Discussion
Topic: Soap control messages from ESP Easy?
Replies: 0
Views: 398

Soap control messages from ESP Easy?

Hi I am curious if it is possible to send soap messages from espeasy to Panasonic Viera TV to control it as in Domoticz. But directly from esp device. Has anyone tried or opened feature request? Ok I did some research and now be able to send command from Hercules using captured frame: POST /nrc/cont...
by xury
11 May 2018, 19:31
Forum: ESP Easy: Software
Topic: The rule how to do it
Replies: 3
Views: 572

Re: The rule how to do it

Try something like that. Im not tested it. on Przycisk#Switch do if [Relay#Switch]=1 timerSet,1,0 /disable timer just in case gpio,12,0 // first relay on gpio,13,0 //second relay on else timerSet,1,600 //set timer1 to count 10 minutes gpio,12,1 //first relay off endif endon On Rules#Timer=1 do gpio,...
by xury
11 May 2018, 14:20
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 214
Views: 57807

Re: Serial MCU controlled relay/switch

Yes you have right. Domoticz does not care about switch reply.
So simply OK will be good.
by xury
09 May 2018, 12:14
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 214
Views: 57807

Re: Serial MCU controlled relay/switch

I can modify the code the output some meaningless text, such as "command completed", if anybody need it. if it was not a problem, I would ask for such function because Domoticz need any response otherwise shows error. It would be nice if the response would be in JSON format. Üdvözlet Lengyelországb...
by xury
09 May 2018, 00:38
Forum: ESP Easy: General Discussion
Topic: About the PUYA version
Replies: 10
Views: 3015

Re: About the PUYA version

Spiffs size is depending how much plugins you have. I compiled with normal and added only serial mcu controlled relay. I set 128k spiffs.
by xury
02 May 2018, 11:42
Forum: ESP Easy: Software
Topic: Adding a new device type
Replies: 5
Views: 1080

Re: Adding a new device type

Look at how other plugins are written.
In my opinion, you should connect the Uart-RS485 converter between inverter and the UART of esp8266 board.
Then after conversion, you can parse data like ser2net.
by xury
01 May 2018, 10:43
Forum: ESP Easy: General Discussion
Topic: Wemos D1 mini pro. Not enough space using OTA?
Replies: 8
Views: 1409

Re: Wemos D1 mini pro. Not enough space using OTA?

Okay. Now everything is clear. Thanks.
by xury
01 May 2018, 10:41
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 214
Views: 57807

Re: Serial MCU controlled relay/switch

Yes, I used sources from yesterday and patched Esp.cpp and obviously your nice plugin. Working well witch domoticz ESP-01s and LC TECH single relay. Added a button and some rules to get full feedback about relay state. on sonoff#Relay0 do Publish domoticz/in,{"idx":92,"nvalue":[sonoff#Relay0],"svalu...
by xury
01 May 2018, 00:04
Forum: ESP Easy: General Discussion
Topic: About the PUYA version
Replies: 10
Views: 3015

Re: About the PUYA version

Please overwrite your Esp.cpp using following file. And after you can compile binaries for PUYA flash IC. This file should be in your core path as: /home/yourname/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/cores (if you use Arduino) The archive contains two files: patched and original. So yo...
by xury
30 Apr 2018, 23:51
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 214
Views: 57807

Re: Serial MCU controlled relay/switch

If someone would like test it. Compiled using recent sources (core 2.4.1)
I compiled it with PUYA patched Esp.cpp
It should by work with differ than PUYA flash IC too.
To fit in 1MB II got rid of some plugins that I think it can not be used with serial controlled boards.
by xury
30 Apr 2018, 23:25
Forum: ESP Easy: General Discussion
Topic: Wemos D1 mini pro. Not enough space using OTA?
Replies: 8
Views: 1409

Re: Wemos D1 mini pro. Not enough space using OTA?

I selected from tools/boards "Wemos D1 mini pro" It has only to choose 15MB SPIFFS.
I thought that having 15MB spiffs would not be problems with OTA
Formatting after flashing takes a lot of time. So I think that SPIFFS is proper created.
Perhaps mega sources still does not support size more than 4MB?
by xury
30 Apr 2018, 18:58
Forum: ESP Easy: General Discussion
Topic: Wemos D1 mini pro. Not enough space using OTA?
Replies: 8
Views: 1409

Re: Wemos D1 mini pro. Not enough space using OTA?

Previous version is 15MB I want to upgrade new 15MB on an old 15MB. Compiled on Arduino using "Wemos D1 mini pro" from menu. Latest sources and core 2.4.1 Build 20102 - Mega (ESP82xx Core 2_4_1, NONOS SDK 2.2.1(cfd48f3)) GIT version xuryV0.1 Plugins 47 [Normal] Build time Apr 30 2018 18:28:16 Binary...
by xury
30 Apr 2018, 18:38
Forum: ESP Easy: General Discussion
Topic: Wemos D1 mini pro. Not enough space using OTA?
Replies: 8
Views: 1409

Wemos D1 mini pro. Not enough space using OTA?

I have done compiled and flashed Wemos D1 mini pro with 15MB SPIFFS.
Sketch size is about 634kB.
Now I had update using OTA and I have not enough space. Why?
Were the bin file is loaded using OTA ? To RAM? Or SPIFFS is too large?
Sorry for the basic questions but I'm rookie lamer.
by xury
25 Apr 2018, 18:41
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 214
Views: 57807

Re: Serial MCU controlled relay/switch

If you want use another plugins not included in bin files shared at first post you have to compile using Arduino or Platformio. About problems with new releases you mast observe serial output during connection and read logs data. P.S I have request to enesbcs. If is possible to fix a plugin? On rece...
by xury
25 Apr 2018, 00:36
Forum: ESP Easy: Hardware
Topic: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?
Replies: 146
Views: 70189

Re: Support for "Sonoff Pow" (from ITead) with Power Consumption Measurement via HLW8012 (HLW 8012) IC?

Thank You TD-er. I think at least I understood the define system. Only one question: I would like not touch too much in main files as I far away from code developing. So I read some info And prepare Custom.h file. So can I put my custom definitions on custom.h ? For eq #undef PLUGIN_BUILD_NORMAL #de...
by xury
22 Apr 2018, 17:23
Forum: ESP Easy: General Discussion
Topic: About the PUYA version
Replies: 10
Views: 3015

Re: About the PUYA version

I spent lot of time trying compile for PUYA using platformIO with no success. So I swap to Arduino on Debian, and now is much better. I have patched esp.ccp with proper patch. When I'll come back home I can attach a patch or esp.ccp file for 2.4.1 core I use it witch ESP-01s and everything sims work...
by xury
16 Apr 2018, 01:09
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 214
Views: 57807

Re: Serial MCU controlled relay/switch

Ok. I finally managed to compile with what I need.
It was a problem with PUYA chip.
After patching Esp.cpp it works well.
by xury
04 Apr 2018, 18:29
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 214
Views: 57807

Re: Serial MCU controlled relay/switch

As your suggestion I managed to compile on 2.3.0 core. Plugin sims work OK but when I try add new device I have error in red frame: I guess is a filesystem error. Maybe not enough flash? Or is wrong organization, because I had another version of firmware before. I'll tray to disable some unneeded pl...
by xury
04 Apr 2018, 12:02
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 214
Views: 57807

Re: Serial MCU controlled relay/switch

Thank You enesbcs I will try to compile with your sugestions this evening when I come back home. I need it for lc tech relay so I hope should be good with buffer size 32. I have one more request. Would you like give me a link for a core 2.4.0 source because as I said im totally beginner. A don't kno...
by xury
03 Apr 2018, 19:37
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 214
Views: 57807

Re: Serial MCU controlled relay/switch

Hello everybody. I'm newbie on this forum, and totally beginner with platformio. I'd like to ask tou how to compile this plugin on 2.3.0 core? I got error: :/ESPEasy-mega-20180402/src/_P165_SerSwitch.ino: In function 'boolean Plugin_165(byte, EventStruct*, String&)': L:/ESPEasy-mega-20180402/src/_P1...