Search found 35 matches

by moebius
14 Jan 2019, 01:04
Forum: ESP Easy: Software
Topic: PCA9685 connecting problem
Replies: 12
Views: 1009

Re: PCA9685 connecting problem

did you try mode 0x14?
by moebius
16 Dec 2018, 20:39
Forum: ESP Easy: Projects / Applications
Topic: Reading Gas meter
Replies: 9
Views: 1059

Re: Reading Gas meter

What advantage do you expect?
by moebius
11 Dec 2018, 17:54
Forum: ESP Easy: Projects / Applications
Topic: Calculating kWh from Amps+Volts
Replies: 10
Views: 1096

Re: Calculating kWh from Amps+Volts

- you could move the db to a ramdisk
- node-red is also an option
by moebius
23 Oct 2018, 16:51
Forum: ESP Easy: Hardware
Topic: Measure voltage
Replies: 2
Views: 445

Re: Measure voltage

You can measure only V with INA219.
by moebius
12 Aug 2018, 14:09
Forum: ESP Easy: Software
Topic: Writing to InfluxDB from HTTP Advanced controller?
Replies: 19
Views: 3806

Re: Writing to InfluxDB from HTTP Advanced controller?

If you use my flow to store the data without modification, you have to adjust the mqtt topic (cause this defines most parameters for the influxdb insert statement).
If you cannot change the mqtt topic, you have to adapt the change node to your needs...

Maybe you can you provide a sample message...
by moebius
12 Aug 2018, 13:44
Forum: ESP Easy: Software
Topic: Writing to InfluxDB from HTTP Advanced controller?
Replies: 19
Views: 3806

Re: Writing to InfluxDB from HTTP Advanced controller?

@water: there is nothing to sort, when you store data in the database
Also your sql select is a little confusing, cause you have the humidity data from a dht22 in the table "dust sensor".

In order to help you, you should export your current flow and describe exactly what you want to achieve.
by moebius
12 Aug 2018, 12:53
Forum: ESP Easy: Software
Topic: Writing to InfluxDB from HTTP Advanced controller?
Replies: 19
Views: 3806

Re: Writing to InfluxDB from HTTP Advanced controller?

@water: the flow from @spachal is in quotes instead of code tags and the forum modifies such strings somehow.

You could also try to reconstruct his flow - only the 3 nodes: mqtt -> function -> request. Code and settings you can see in his export.
by moebius
09 Aug 2018, 13:23
Forum: ESP Easy: Software
Topic: Writing to InfluxDB from HTTP Advanced controller?
Replies: 19
Views: 3806

Re: Writing to InfluxDB from HTTP Advanced controller?

@drum: for more data, i would vote for influxdb (the built-in downsampling ability is really nice) in combination with grafana. Also, it's not common to save everything in one table or to store aggregated/min/max values (usually done with queries). @spachal: Nice sample for beginners. Consider that,...
by moebius
07 Aug 2018, 14:51
Forum: ESP Easy: Software
Topic: Writing to InfluxDB from HTTP Advanced controller?
Replies: 19
Views: 3806

Re: Writing to InfluxDB from HTTP Advanced controller?

Can you tell me how you used node-red mqtt and influxdb ?
In node-red you have an mqtt-in node, where you get the values from the esp's.
Now you prepare the data for influxdb with a change or function node and finally connect it to the influxdb node (has to be installed over palette).
by moebius
06 Aug 2018, 19:07
Forum: ESP Easy: Hardware
Topic: PCA9685 works with leds but not with servos
Replies: 9
Views: 1164

Re: PCA9685 works with leds but not with servos

Which parameters does that command use?
the new frequency?

The plugin was changed recently to have multiple instances, but i cannot see how they are addressed with the cmd command...
by moebius
06 Aug 2018, 15:57
Forum: ESP Easy: Hardware
Topic: PCA9685 works with leds but not with servos
Replies: 9
Views: 1164

Re: PCA9685 works with leds but not with servos

The command to change the frequency is "pcafrq".

Did you check the power supply for the servo?
Do you tried it with a gpio instead of the pca9685?
by moebius
21 Jul 2018, 16:13
Forum: ESP Easy: Projects / Applications
Topic: cjmcu-8118 for room sensor
Replies: 3
Views: 1174

Re: cjmcu-8118 for room sensor

Interesting sensor... I dont know if the library is really necessary (because of complexity)? If not, my idea would be to have a generic "interface scripting plugin", which would allow to read, write, and manipulate data on different interfaces (i2c, spi, serial, etc). The script only would require ...
by moebius
20 Jul 2018, 12:39
Forum: ESP Easy: Hardware
Topic: RF wall mounted light switch [discussion]
Replies: 18
Views: 2283

Re: RF wall mounted light switch [discussion]

So you want to use n receivers for n switches instead of only one rf gateway module for all switches?
Then you would need an esp on every receiver location.
by moebius
20 Jul 2018, 12:09
Forum: ESP Easy: Hardware
Topic: RF wall mounted light switch [discussion]
Replies: 18
Views: 2283

Re: RF wall mounted light switch [discussion]

trying to get a 1-1 solution without gateways
This is imho not possible, cause the esp cant receive the rf signals from the switches without additional hardware (and this module is called "gateway" https://www.elv.at/raspberry-pi-enocean-modul.html)
by moebius
20 Jul 2018, 08:55
Forum: ESP Easy: Projects / Applications
Topic: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266
Replies: 1
Views: 814

Re: SML-Stromzähler (Volkszähler) Datenübermittlung mittels ESP8266

You could use an orange pi zero.

It's only 12$ (with a nice case).
by moebius
20 Jul 2018, 08:50
Forum: ESP Easy: Hardware
Topic: RF wall mounted light switch [discussion]
Replies: 18
Views: 2283

Re: RF wall mounted light switch [discussion]

Enocean builds this kind of switches - powered piezoelectric. And there is also a gateway for raspberries.
by moebius
18 Jul 2018, 15:03
Forum: ESP Easy: Projects / Applications
Topic: Trying to make an auto-adjusting light timer
Replies: 17
Views: 2016

Re: Trying to make an auto-adjusting light timer

Having to ensure that both the 'server' and the various 'outlets' are communicating is something I'd rather not deal with Providing the correct time to the outlets for any time based operation is some sort of communication was a *standalone* timer And how would you do that with the sonoff? This fun...
by moebius
17 Jul 2018, 23:55
Forum: ESP Easy: Projects / Applications
Topic: Trying to make an auto-adjusting light timer
Replies: 17
Views: 2016

Re: Trying to make an auto-adjusting light timer

- just add another rule to turn the light on at a certain time - a reboot also resets the internal clock - so after a power outage the esp needs an ntp server, which means you could turn on the light with a script running on your router or somewhere else in your network - use a light sensor with an ...
by moebius
22 May 2018, 16:29
Forum: ESP Easy: Projects / Applications
Topic: Private project [HÖRMANN REMOTE CONTROLLED GARAGE PORT CONTROLLED WITH ESP8266]
Replies: 17
Views: 3493

Re: Private project [HÖRMANN REMOTE CONTROLLED GARAGE PORT CONTROLLED WITH ESP8266]

A little complicated solution, but well done and working :)

Really nice and interesting blog - keep it up!
by moebius
17 May 2018, 13:27
Forum: ESP Easy: Projects / Applications
Topic: Chicken door
Replies: 10
Views: 1960

Re: Chicken door

The rpm depends on the voltage - also, it's stronger the less rpm it makes. And i didnt want to behead the chickens :)

Before building, i've made a rough plan, to estimate space and material better (yellow means removable).
by moebius
16 May 2018, 21:23
Forum: ESP Easy: Projects / Applications
Topic: Chicken door
Replies: 10
Views: 1960

Re: Chicken door

I've made a ckicken house recently. As the roof was ready, i had the idea to use an old solar panel. So i've rebuilt it, but the dimensions of the house did not fit... Anyway, this opens so many opportunities (self-sufficient door, camera, light, rfid, ...) that i'm glad i did it. Instead of a motor...
by moebius
26 Mar 2018, 16:34
Forum: ESP Easy: General Discussion
Topic: ESPeasy Mega running on Sonoff Basic - Bad Behaviour
Replies: 68
Views: 12853

Re: ESPeasy Mega running on Sonoff Basic - Bad Behaviour

This version works for me with a reed switch on gpio-13: v2.0.0-dev12 I would suspect a hardware problem - to exclude that, the tests should first happen without switching a heavy inductive load (like a big water pump). Maybe even not with a sonoff, but rather a nodemcu or wemos board with a good po...
by moebius
25 Mar 2018, 13:14
Forum: ESP Easy: General Discussion
Topic: ESPeasy Mega running on Sonoff Basic - Bad Behaviour
Replies: 68
Views: 12853

Re: ESPeasy Mega running on Sonoff Basic - Bad Behaviour

@Oxyandy: I also think you put pretty much pressure on the voluntary developers here. From your shouting and posts, one would think your problems are the only ones here. You should really consider the suggestion of @Methusalem and not use espeasy for your precious plants, until you extensively teste...
by moebius
13 Mar 2018, 23:08
Forum: ESP Easy: Software
Topic: Explanation of Rules Sets?
Replies: 7
Views: 1478

Re: Explanation of Rules Sets?

A 6k rule set sounds interesting - would you mind to upload it?
by moebius
13 Mar 2018, 14:42
Forum: ESP Easy: General Discussion
Topic: Store values between reboots
Replies: 8
Views: 2346

Re: Store values between reboots

If there are already 2 devices involved, a router or wifi problem will also cause a failure...also if the measurement device does not work anymore. For that case, you need something like a heartbeat in the whole process. Easiest way would be, to boot the heating device with a save setting - i assume...
by moebius
13 Mar 2018, 14:05
Forum: ESP Easy: General Discussion
Topic: Store values between reboots
Replies: 8
Views: 2346

Re: Store values between reboots

>How does it work? First, you need an mqtt broker for that solution. >Is it a global parameter? "mqtt retain msg" is a global advanced setting >When the value is restored? After boot? The value is restored after reboot, when the mqtt import plugin subscribes to a specific topic. >Where does it store...
by moebius
13 Mar 2018, 12:36
Forum: ESP Easy: General Discussion
Topic: Store values between reboots
Replies: 8
Views: 2346

Re: Store values between reboots

You could use the mqtt feature "retain" to store values in combination with the mqtt import plugin.
by moebius
25 Feb 2018, 21:44
Forum: ESP Easy: General Discussion
Topic: Boot time very high
Replies: 5
Views: 1678

Re: Boot time very high

I've tested now with a nodemcu board and nothing changed... But the log showed clearly where the time has gone: 349 : EVENT: System#Boot 380 : ACT : PWM,14,450,3000 3491 : SW : GPIO 14 Set PWM to 450 4463 : WIFI : AP Mode disabled 4464 : WIFI : AP Mode ssid will be laserbeam_55 with address 192.168....
by moebius
25 Feb 2018, 19:20
Forum: ESP Easy: General Discussion
Topic: Boot time very high
Replies: 5
Views: 1678

Re: Boot time very high

Don't know if it's fake, so let's assume it is...but with none of your problems (wifi connection, power consumption (i dont use the onboard regulator)). I have also some nodemcu boards - i will check, if there is any difference... My guess would also be, that espeasy does the startup task only after...
by moebius
25 Feb 2018, 18:21
Forum: ESP Easy: General Discussion
Topic: Boot time very high
Replies: 5
Views: 1678

Boot time very high

On a Wemos D1, the time from a warm reboot until the device outputs a pwm signal is app. 5 seconds. The pwm signal is defined with this rule: on System#Boot do PWM,14,450,3000 endon This is way too much to use it for a light. The normal boot time of an esp8266 is around 300ms - why does it take so l...
by moebius
13 Dec 2017, 19:17
Forum: ESP Easy: Software
Topic: MQTT: subscribe to multiple topics
Replies: 3
Views: 934

Re: MQTT: subscribe to multiple topics

Thanks!
But mqtt import seems only to accept values and not commands. So i would have to configure each device on its own - but to turn on/off multiple devices it looks good.
by moebius
13 Dec 2017, 18:49
Forum: ESP Easy: Software
Topic: MQTT: subscribe to multiple topics
Replies: 3
Views: 934

MQTT: subscribe to multiple topics

Is it currently possible or planned, that an espeasy device can subscribe to multiple mqtt topics?

How else is it possible to sync multiple devices (each device controlling some kind of light)?
by moebius
22 May 2017, 19:52
Forum: ESP Easy: General Discussion
Topic: Hc-sr04 sensor - decimal value in log, integer on mqtt
Replies: 0
Views: 567

Hc-sr04 sensor - decimal value in log, integer on mqtt

The esp easy R120 shows the value of the hc-sr04 sensor with 2 decimal numbers in the log, but the transmitted mqtt value (openhab) is only integer.
Can this be solved via a configuration change?