Search found 125 matches

by cherowley
13 Oct 2016, 16:46
Forum: ESP Easy: General Discussion
Topic: Sending data to controller
Replies: 9
Views: 7530

Re: Sending data to controller

This code seems to work, hopefully it'll be reliable, I simply call it 3 times :) void Plugin_121_Controller_Update(byte TaskIndex, byte BaseVarIndex, int IDX, byte SensorType) { if (Settings.Protocol && IDX > 0) { LoadTaskSettings(TaskIndex); byte ProtocolIndex = getProtocolIndex(Settings.P...
by cherowley
13 Oct 2016, 09:37
Forum: ESP Easy: General Discussion
Topic: Sending data to controller
Replies: 9
Views: 7530

Re: Sending data to controller

Yep think I'll have to duplicate code unfortunately, thanks anyways :)
by cherowley
11 Oct 2016, 18:02
Forum: ESP Easy: General Discussion
Topic: Bizare rebooting of sensors when accessed from domoticz!
Replies: 0
Views: 2294

Bizare rebooting of sensors when accessed from domoticz!

Just had a weird situ whereby I was trying to switch on a relay via domoticz from my work (vpn via xpenology box).. It repeatedly caused the esp to reboot each time. I then tried to access another esp via the http interface and that too rebooted. A third has gone offline and no ping response - will ...
by cherowley
11 Oct 2016, 09:57
Forum: ESP Easy: General Discussion
Topic: Sending data to controller
Replies: 9
Views: 7530

Re: Sending data to controller

Hello :) Ah yes but I have 3 values to send to 3 different devices - NOT just one device you see.. All from ONE Task... That is why I am using 3 devices in domoticz: A switch to turn heating on/off. Another switch just to keep track of when boiler is actually lit. (read only in domoticz) A thermosta...
by cherowley
10 Oct 2016, 20:41
Forum: ESP Easy: General Discussion
Topic: Sending data to controller
Replies: 9
Views: 7530

Re: Sending data to controller

Thanks moelski :) I've written my own plugin (thermostat+timer) which has 3 user vars I wish to see in domoticz: Set point Heating On Flame Lit These 3 values need to go to (in my case) domoticz, BUT 3 different IDX (3 different virtual devices in domoticz: Virtual Thermostat Virtual Switch Virtual ...
by cherowley
10 Oct 2016, 16:30
Forum: ESP Easy: General Discussion
Topic: Sending data to controller
Replies: 9
Views: 7530

Re: Sending data to controller

Still struggling with this :(

Any help out from you C coding gurus? :)
by cherowley
09 Oct 2016, 09:55
Forum: ESP Easy: General Discussion
Topic: Sending data to controller
Replies: 9
Views: 7530

Sending data to controller

I'm writing a plugin where I need to send values to several different devices on the controller (in my case domoticz). I can't see how to send info except using the event struct which uses the uservars. I want to use my own variables and set device type etc... Currently i've fudged it by taking the ...
by cherowley
04 Oct 2016, 14:43
Forum: ESP Easy: Software
Topic: Setting task status in rules
Replies: 0
Views: 1733

Setting task status in rules

What's the syntax for changing a task value in the rules?

These don't seem to work:

[Switch#Switch]=1
[Switch#Switch]=On

Thanks!
by cherowley
03 Oct 2016, 10:53
Forum: ESP Easy: Software
Topic: Rules for sonoff local control and remote domoticz
Replies: 1
Views: 2864

Re: Rules for sonoff local control and remote domoticz

Hmm,

Still not getting anywhere...

How do you set a device status in rules, for example if i have a switch called Switch with a value name Switch:

[Switch#Switch]=1
[Switch#Switch]=On

doesn't work?
by cherowley
01 Oct 2016, 20:31
Forum: ESP Easy: Software
Topic: Rules for sonoff local control and remote domoticz
Replies: 1
Views: 2864

Rules for sonoff local control and remote domoticz

Hi! I'm after what I thought would be a simple script but getting nowhere! I'm using a sonoff with a a normal on.off toggle switch (the tricky bit). I want the relay to switch to its opposite state whenever I toggle the hardware switch. BUT I also want to be able to override the relay by sending on/...
by cherowley
30 Sep 2016, 14:39
Forum: RFLink: Unsupported devices
Topic: Lightwaverf mood switch
Replies: 11
Views: 9702

Re: Lightwaverf mood switch

Yes please!

I'd really like domoticz just to treat the mood buttons as just switches so i can do what i want with them :)

It means that I can stick it on a wall and control several things in a room individually (WAF lol!)
by cherowley
30 Sep 2016, 13:16
Forum: RFLink: Unsupported devices
Topic: Lightwaverf mood switch
Replies: 11
Views: 9702

Re: Lightwaverf mood switch

Hi!

So RFlink does detect this but Domoticz still doesn't recognise all the buttons even in teh latest betas...

Any ideas how to get this working in domoticz?

Cheers!
by cherowley
09 Aug 2016, 17:05
Forum: ESP Easy: Hardware
Topic: IR Transmitter ?
Replies: 120
Views: 194991

Re: IR Transmitter ?

Deennoo wrote:OK thx the trick !

Will work on it now
Hmm I just remembered you could also use esp easy standard software too!

plugin 016 is an ir receiver/decoder, some details are on http://www.esp8266.nu/index.php/IR
by cherowley
03 Aug 2016, 12:33
Forum: ESP Easy: Hardware
Topic: IR Transmitter ?
Replies: 120
Views: 194991

Re: IR Transmitter ?

Hi! The way I did it was to use an arduino IR library with an ir receiver to make a note of the codes... the http command is: To turn samsung tv off: http://192.168.2.165/control?cmd=IRSEND,SAMSUNG,e0e019e6,32 to turn samsung tv on: http://192.168.2.165/control?cmd=IRSEND,SAMSUNG,e0e09966,32 Where &...
by cherowley
07 Jun 2016, 13:35
Forum: ESP Easy: Hardware
Topic: HC-SR501 PIR issue's
Replies: 31
Views: 38210

Re: HC-SR501 PIR issue's

Yep same issues I had/have.

I wrapped the pir wires in foil then grounded the foil and that worked pretty much so then I tried using coax to connect the pir and that also worked.
by cherowley
08 Apr 2016, 12:10
Forum: RFLink: Unsupported devices
Topic: Lightwaverf mood switch
Replies: 11
Views: 9702

Re: Lightwaverf mood switch

20;2B;Lightwave;ID=f2f790;SWITCH=af;CMD=ALLOFF;
2020;2D;Lightwave;ID=f2f790;SWITCH=af;CMD=MOOD=03;
20;2E;Lightwave;ID=f2f790;SWITCH=af;CMD=MOOD=02;
20;30;Lightwave;ID=f2f790;SWITCH=af;CMD=MOOD=01;
by cherowley
08 Apr 2016, 11:54
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 718196

Re: New ESP gadget

Ah, hadn't seen that one before :)

Convenient extra io pin :)

I've used the tx/rx pins on mine for PIR and dht sensors etc :)
by cherowley
08 Apr 2016, 10:13
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 718196

Re: New ESP gadget

5 pins?

Ooo, please take a picture :)
by cherowley
07 Apr 2016, 12:32
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 190807

Re: H801 : RGB controller based on ESP8266 avalaible from China

Hi Deenoo,

Hmm, that looks correct to me:

Name:
Milight UDP Port: 8899
Red Pin: 15
Green Pin: 13
Blue Pin: 12
White Pin: 14

If you swap say the blue & green wires and set to full green do you get blue?
by cherowley
20 Mar 2016, 12:53
Forum: ESP Easy: Hardware
Topic: DHT22 Problem
Replies: 25
Views: 32407

Re: DHT22 Problem

Seems good in r90 :)

Edit: woops, is in fact r90...
by cherowley
20 Mar 2016, 12:50
Forum: RFLink: Unsupported devices
Topic: Lightwaverf mood switch
Replies: 11
Views: 9702

Re: Lightwaverf mood switch

Hi!

Thanks for adding support for this (I'm sure i uploaded my log?!)..

Do I need to add support in Domoticz (my controller of choice :) ) ?

Cheers!
by cherowley
17 Mar 2016, 15:10
Forum: ESP Easy: General Discussion
Topic: Show your Uptime record !
Replies: 5
Views: 7817

Re: Show your Uptime record !

Lol! I was just going to suggest this Deenooo in the other thread! I'll get the ball rolling: ESP model: Sonoff Build: 48 Sensors: Std hardware with no additional gpio/sensors Controller: Domoticz Protocol: Http Power Supply Spec: N/A Hardware: Sonoff Uptime: 58684 minutes (40+days) Edit: Well! Sinc...
by cherowley
17 Mar 2016, 13:02
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 718196

Re: New ESP gadget

Just recieve 6 pcs of this, unable to pair it with "legal" app...now they all got ESPEsy FW ! Thx for tip They seem pretty stable with the firmware too! One of them hooked upto a light: System Info Uptime: 58684 minutes Build: 48 Over 40 days since I last unplugged it and no reboots :)
by cherowley
15 Mar 2016, 11:35
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 190807

Re: H801 : RGB controller based on ESP8266 avalaible from China

I found on github an ESP firmware who turn it on a Milight bridge + ledstrip controller for pwm led strip. I test everything looks OK https://github.com/frizzby/esp8266-rgb-led I'm starting a conversion for Ws2812b led strip , any thoughts? i got it starting : https://github.com/deennoo/esp8266-rgb...
by cherowley
09 Mar 2016, 16:38
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 190807

Re: H801 : RGB controller based on ESP8266 avalaible from China

josh38 wrote:I found on github an ESP firmware who turn it on a Milight bridge + ledstrip controller for pwm led strip.

I test everything looks OK

https://github.com/frizzby/esp8266-rgb-led

I'm starting a conversion for Ws2812b led strip, any thoughts?
HI!

Yeah I referenced that when I wrote my plugin :)
by cherowley
09 Mar 2016, 15:22
Forum: ESP Easy: Hardware
Topic: IR Transmitter ?
Replies: 120
Views: 194991

Re: IR Transmitter ?

I have ordered the following: http://www.aliexpress.com/item/5V-IR-Infrared-Remote-Decoder-Encoding-Transmitter-Receiver-Wireless-Module/32528109291.html I hope I can use it with the ESP8266 to extend "RAW" IR via WIFI. That looks an interesting device, 5v though so level shifters require...
by cherowley
09 Mar 2016, 13:01
Forum: ESP Easy: Hardware
Topic: IR Transmitter ?
Replies: 120
Views: 194991

Re: IR Transmitter ?

Hi,

Haven't looked into the raw stuff so are you saying you can send a raw code using a single hex code?

I thought you had to provide an array of mark/space times?
by cherowley
26 Feb 2016, 12:45
Forum: ESP Easy: Software
Topic: Introducing the ESPEasy-Plugin-Playground
Replies: 12
Views: 22845

Re: Introducing the ESPEasy-Plugin-Playground

highroller wrote:How do i add one of the playground plugins to my r78 build?
Hi,

Download the plugin file and drop it in the same directory on your computer as the other plugins are in. Compile as normal and flash. voila!
by cherowley
26 Feb 2016, 09:39
Forum: ESP Easy: Hardware
Topic: IR Transmitter ?
Replies: 120
Views: 194991

Re: IR Transmitter ?

Hiya, Just added Panasonic type. Update is on the playground :) i found it on the playground and would play with it. would you be so kind to help a noob with getting started? how do i use it? can i control it via MQTT? is there a HTTP-cmd syntax? thanx alot. Hiya t! I've only written it for Http co...
by cherowley
24 Feb 2016, 14:38
Forum: ESP Easy: Hardware
Topic: IR Transmitter ?
Replies: 120
Views: 194991

Re: IR Transmitter ?

Deennoo wrote:
cherowley wrote:
I have written the plugin and am using it. Only supports the named protocols, not raw mode at the moment..
Panasonic & Samsung ?
Hiya, Just added Panasonic type. Update is on the playground :)
by cherowley
24 Feb 2016, 10:27
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 190807

Re: H801 : RGB controller based on ESP8266 avalaible from China

I've now got the plugin seemingly stable - I disabled the system info plugin. I've also used a timer set to 50hz to control the fading and it gives (mostly!) smooth fading. Still the odd flicker but can't really do much about that as its software fighting for resources like wifi etc. Also wrote anot...
by cherowley
24 Feb 2016, 10:11
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 718196

Re: New ESP gadget

At the current state of ESPEasy R80 you can only use I2C on the sonoff. GPIO 1&3 can be used for I2C but cannot be used as input or output. So you cannot attach a sensor like DHT11/22. As alternative you can use the forked version of R78, this version has fully functioning GPIO 1/3 (UART is swa...
by cherowley
24 Feb 2016, 09:51
Forum: ESP Easy: Hardware
Topic: IR Transmitter ?
Replies: 120
Views: 194991

Re: IR Transmitter ?

Topic starter gave a link with 100ths of brands and 1000's of devices. I meant it is not realistic to put them all in a ESP plugin. :lol: A IR plugin which can send most protocols can be made if code's are given in HEX. On Github I see a IR library which about 15 different protocols. Even a learnin...
by cherowley
23 Feb 2016, 23:03
Forum: ESP Easy: Hardware
Topic: IR Transmitter ?
Replies: 120
Views: 194991

Re: IR Transmitter ?

I think he meant that having a database of all the ir codes in the firmware would be impossible. Also I think they are talking about it sending which is not in easyesp. Or at least it wasn't until I just gave it a bash :D
by cherowley
23 Feb 2016, 22:34
Forum: ESP Easy: Hardware
Topic: IR Transmitter ?
Replies: 120
Views: 194991

Re: IR Transmitter ?

I've just finished implementing a new plugin to send ir. Tested only for 5mins and only 2 different Samsung codes. You have it pass it the hex code though so not sure any use for anyone. Also I only needed it for Samsung tv so doesn't handle raw codes.. Quite cool to have the lights and TV come on w...
by cherowley
23 Feb 2016, 10:38
Forum: ESP Easy: Hardware
Topic: OLED I2C
Replies: 43
Views: 35809

Re: OLED I2C

So how should the Local Button for the OLED display be wired? The timer certainly works, but I tried 2 different pins pulled to ground or 3.3 V but neither triggered the display. For this I am using a Node MCU and R80. There could be some other problem as well, it likes to reboot a lot too, but tha...
by cherowley
23 Feb 2016, 10:10
Forum: ESP Easy: Software
Topic: Introducing the ESPEasy-Plugin-Playground
Replies: 12
Views: 22845

Re: Introducing the ESPEasy-Plugin-Playground

To have more freedom in using and sharing ideas and code, we have added a new repository for plugin development. This repository will be open for github contributors so they will be able to commit without our permission. So it should be a real unofficial playground. We also have some plugins that h...
by cherowley
19 Feb 2016, 16:42
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 190807

Re: H801 : RGB controller based on ESP8266 avalaible from China

I've created a basic plugin (29) for Milight emulation. Only responds to group 1. I don't know C so code needs to be redone by someone who does! (It adds 5k to compiled sketch size and an extra 480bytes mem usage) [/url] Hmm after stress testing it by automating fade/flash/colour/brightness command...
by cherowley
18 Feb 2016, 13:37
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 190807

Re: H801 : RGB controller based on ESP8266 avalaible from China

I've created a basic plugin (29) for Milight emulation. Only responds to group 1. New item in devices - Milight RGBW. Set pins used and udp port for milight emulation. Only does basic colour/brightness plus a couple new other http commands. To use drop the plugin into the source directory and compil...
by cherowley
16 Feb 2016, 12:10
Forum: ESP Easy: General Discussion
Topic: OTA with 1mbyte
Replies: 5
Views: 5739

[SOLVED] Re: OTA with 1mbyte

Thanks for swift replies guys and also in the other thread..
by cherowley
16 Feb 2016, 12:08
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 718196

Re: New ESP gadget

I'm glad I'm not the only one with the frustration that OTA is not very useable with 1meg hardware! In fact, I find that in addition to loosing all setting with ota, it usually renders the board unbootable until I reflash using serial.. I've run several OTA updates to my Sonoff device without any i...
by cherowley
16 Feb 2016, 11:55
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 718196

Re: New ESP gadget

I'm glad I'm not the only one with the frustration that OTA is not very useable with 1meg hardware! In fact, I find that in addition to loosing all setting with ota, it usually renders the board unbootable until I reflash using serial.. If I flash the 1MB esp with the bin file provided by Martinis,...
by cherowley
16 Feb 2016, 11:36
Forum: ESP Easy: General Discussion
Topic: OTA with 1mbyte
Replies: 5
Views: 5739

Re: OTA with 1mbyte

Any devs / experts can confirm my thinking on this? :)
by cherowley
16 Feb 2016, 11:32
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 718196

Re: New ESP gadget

It is a bit troublesome that you have to do all the settings from start again after a OTA update. Choose network on 192.168.4.1 and so on. Or you must compile with SSID and PassPhrase into the sourcecode. I'm glad I'm not the only one with the frustration that OTA is not very useable with 1meg hard...
by cherowley
16 Feb 2016, 10:02
Forum: RFLink: Unsupported devices
Topic: Lightwaverf mood switch
Replies: 11
Views: 9702

Re: Lightwaverf mood switch

Stuntteam wrote:Ok, please check what command is displayed when RFlink receives the small buttons..
I'll upload the log tonight when home from work :)
by cherowley
15 Feb 2016, 18:00
Forum: RFLink: Unsupported devices
Topic: Lightwaverf mood switch
Replies: 11
Views: 9702

Re: Lightwaverf mood switch

Hi!

Thanks for the quick reply :)

I think for me it would be best as if they just were sent as individual on switches.

That way they could be used for any purpose - linking to scenes, groups or individual devices as per whatever the user needs :)
by cherowley
15 Feb 2016, 15:39
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 190807

Re: H801 : RGB controller based on ESP8266 avalaible from China

Hi Deenooo! I've used the milight hardware device in domoticz set to rgbw. Looking at the udp packets generated by domoitcz it sends cmd 78 (decimal) which is the brightness command if you adjust the lower slider or move the pointer in the square colour block. I can't therefore tell the difference b...
by cherowley
15 Feb 2016, 15:28
Forum: RFLink: Unsupported devices
Topic: Lightwaverf mood switch
Replies: 11
Views: 9702

Lightwaverf mood switch

Hi!

Is this device fully working?

Domoticz recognizes the large 0/1 buttons but does not respond to any on the lower 4 small buttons...

Any ideas?

Thanks!
by cherowley
15 Feb 2016, 14:18
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 190807

Re: H801 : RGB controller based on ESP8266 avalaible from China

Deennoo wrote:Of course...need to be upgrade to h801 material spec :

- switch command from milight RGB to rgbw, to allow white channel control.

Ordre mine today...waiting for it on march now
Ah it seems domoticz milight doesn't support the white channel - or I dont' know how to use it lol :)