These are chat archives for SmingHub/Sming

29th
Nov 2015
slaff
@slaff
Nov 29 2015 01:50
I started the initial work for the SSL support in Sming: https://github.com/slaff/Sming/tree/feature/ssl-dev.
I would be great if someone with good C++ and LWIP skills checks the code and gives me hints about the SSL reading part, especially https://github.com/slaff/Sming/blob/feature/ssl-dev/Sming/SmingCore/Network/TcpConnection.cpp#L427
Dan Loman
@dloman
Nov 29 2015 01:56
will defintely check out. @slaff
alonewolfx2
@alonewolfx2
Nov 29 2015 06:17
@slaff good to hear this.
alonewolfx2
@alonewolfx2
Nov 29 2015 07:13
@zhivko we dont know release date
ystrem
@ystrem
Nov 29 2015 08:19
Hello guys, anybody using sleep / wakeup functions ? Is there any way how to wakeup ESP01 and 12 from sleep except RST pin ?
alonewolfx2
@alonewolfx2
Nov 29 2015 08:23
@ystrem you cant use deepsleep without rst
if you need deepsleep on esp01 you must to connect gpio16 to rst. like this picture
alonewolfx2
@alonewolfx2
Nov 29 2015 08:29
20151129_102453-.png
anyone knows where is linkflags in sming
alonewolfx2
@alonewolfx2
Nov 29 2015 09:17
ok it seems sming dev branch compatible with new 1.5 sdk with some modification. i will push dev 1.5 branch
hreintke
@hreintke
Nov 29 2015 10:27
@slaff : which TLS library are you using ?
@alonewolfx2 :
alonewolfx2
@alonewolfx2
Nov 29 2015 10:28
@hreintke ?
hreintke
@hreintke
Nov 29 2015 10:28
How / what did you test with SDK 1.5 ? What do you mean with "push dev 1.5 branch"
@alonewolfx2 : Sorry was in chat mode instead of compose mode
alonewolfx2
@alonewolfx2
Nov 29 2015 10:32
@hreintke i am on windows. i manual change sdk folder to sdk1.5 and added requeriments for new sdk for wpa2 and it compile.
slaff
@slaff
Nov 29 2015 10:32
@hreintke axTLS. At the moment it is part of the code in Sming - see folder /ssl in the ssl-dev branch ( https://github.com/slaff/Sming/tree/feature/ssl-dev ). But I might move to the default ssl library in the SDK because the core functions should be more or less the same.
hreintke
@hreintke
Nov 29 2015 10:41
@alonewolfx2 : Just "compiles OK" is definitely not the same as "works OK".
If you want anything into the sminghug/sming submit a PR instead of a branch. That is the way we agreed to work.
alonewolfx2
@alonewolfx2
Nov 29 2015 10:54
@hreintke i know :D i am already testing for all examples on hardware
slaff
@slaff
Nov 29 2015 11:16

ok it seems sming dev branch compatible with new 1.5 sdk with some modification. i will push dev 1.5 branch

How did you solve this issue:

/opt/Espressif/sdk//lib/libwpa.a(wpa_auth.o): In function `wpa_receive':
(.irom0.text+0x9a0): undefined reference to `aes_wrap'
/opt/Espressif/sdk//lib/libwpa.a(wpa_auth.o): In function `__wpa_send_eapol':
(.irom0.text+0xd73): undefined reference to `aes_wrap'
collect2: error: ld returned 1 exit status
alonewolfx2
@alonewolfx2
Nov 29 2015 11:17
add cryto to libs, add lcrypto to ldflags
slaff
@slaff
Nov 29 2015 11:18
Ok, thanks
alonewolfx2
@alonewolfx2
Nov 29 2015 11:18
btw this change compatible with old sdk so we can add it to develop branch @hreintke right?
@hreintke basic_blink-ok,basic_rboot-ok,basic_serial-ok testing more..
hreintke
@hreintke
Nov 29 2015 11:20
No, there is no such thing as : the first day after a sdk release we update the develop branch to use it.
alonewolfx2
@alonewolfx2
Nov 29 2015 11:21
ip:192.168.88.203,mask:255.255.255.0,gw:192.168.88.1
pm open,type:2 0
info

SDK: v1.5.0
Free Heap: 47144
CPU Frequency: 80 MHz
basic_rboot log
@hreintke why :)
hreintke
@hreintke
Nov 29 2015 11:26
develop branch is : the version we are going to release the next.
Now we are on sdk 1.4.0 which seems to work OK.
When we release sming, it should be as much as possible a "for sure" stable version.
We should wait for "reactions from other users" on other locations to see how stable the release is.
And just for testing additional feature in sming there is a "open, not merged PR"
alonewolfx2
@alonewolfx2
Nov 29 2015 11:28
ok. what about feature/sdk1.5 branch?
hreintke
@hreintke
Nov 29 2015 11:35
In order to get develop and 1.5 branch in sync to need to merge all PR's in two branches
When it is a PR, everyone who want to use it "just fetches into their local environment" and can use it without any further action needed on main repo.
That's why we decided not to use branches for new functionality.
alonewolfx2
@alonewolfx2
Nov 29 2015 12:00
a little weird.
Alexander V. Ribchansky
@avr39-ripe
Nov 29 2015 12:53
hello! can anybody suggest how to convert string with long long to numerical type long long with sming? I need this to set time from browser.. browser POST millis and esp should parse POST request, and convert String to long long.. :(
Sming can simply convert String to long, but not to long long
alon24
@alon24
Nov 29 2015 13:30
use double
hreintke
@hreintke
Nov 29 2015 13:31
@alonewolfx2 :
A very common process which we agreed and documented in Contributing.md. It would be weird if we do not use our own procedures.
crosofg
@crosofg
Nov 29 2015 14:53
chg_A3:0
chg_A3:-180
chg_A3:0
chg_A3:-180
what do these mean?
they keep coming in Serial monitor.
crosofg
@crosofg
Nov 29 2015 16:35
How good/bad is souliss framework as compared to Sming?
zhivko
@zhivko
Nov 29 2015 18:11
I'm trying now 1.4 sdk and I have problem -

 ^
/home/kz/git/Sming/Sming/Makefile-rboot.mk:395: recipe for target 'out/build//home/kz/git/Sming/Sming/rboot/appcode/rboot-api.o' failed
In file included from /home/kz/git/Sming/Sming/system/include/rboot-integration.h:11:0,
                 from /home/kz/git/Sming/Sming/rboot/appcode/rboot-api.c:10:
/home/kz/git/Sming/Sming/system/include/esp_systemapi.h:79:0: note: this is the location of the previous definition
 #define os_free     vPortFree
 ^
In file included from /home/kz/git/Sming/Sming/rboot/appcode/rboot-api.c:16:0:
/home/kz/esp8266/esp-open-sdk/sdk/include/mem.h:6:0: error: "os_malloc" redefined [-Werror]
 #define os_malloc(s)      pvPortMalloc(s, "", 0)
 ^
In file included from /home/kz/git/Sming/Sming/system/include/rboot-integration.h:11:0,
                 from /home/kz/git/Sming/Sming/rboot/appcode/rboot-api.c:10:
/home/kz/git/Sming/Sming/system/include/esp_systemapi.h:78:0: note: this is the location of the previous definition
 #define os_malloc   pvPortMalloc
 ^
In file included from /home/kz/git/Sming/Sming/rboot/appcode/rboot-api.c:16:0:
/home/kz/esp8266/esp-open-sdk/sdk/include/mem.h:9:0: error: "os_zalloc" redefined [-Werror]
 #define os_zalloc(s)      pvPortZalloc(s, "", 0)
 ^
In file included from /home/kz/git/Sming/Sming/system/include/rboot-integration.h:11:0,
                 from /home/kz/git/Sming/Sming/rboot/appcode/rboot-api.c:10:
/home/kz/git/Sming/Sming/system/include/esp_systemapi.h:80:0: note: this is the location of the previous definition
 #define os_zalloc   pvPortZalloc
 ^
/home/kz/git/Sming/Sming/rboot/appcode/rboot-api.c: In function 'rboot_set_config':
/home/kz/git/Sming/Sming/rboot/appcode/rboot-api.c:43:2: error: too many arguments to function 'pvPortMalloc'
  buffer = (uint8*)os_malloc(SECTOR_SIZE);
  ^
In file included from /home/kz/git/Sming/Sming/system/include/rboot-integration.h:11:0,
                 from /home/kz/git/Sming/Sming/rboot/appcode/rboot-api.c:10:
/home/kz/git/Sming/Sming/system/include/esp_systemapi.h:71:14: note: declared here
 extern void *pvPortMalloc(size_t xWantedSize);
              ^
/home/kz/git/Sming/Sming/rboot/appcode/rboot-api.c:62:2: error: too many arguments to function 'vPortFree'
  os_free(buffer);
  ^
In file included from /home/kz/git/Sming/Sming/system/include/rboot-integration.h:11:0,
                 from /home/kz/git/Sming/Sming/rboot/appcode/rboot-api.c:10:
/home/kz/git/Sming/Sming/system/include/esp_systemapi.h:74:13: note: declared here
 extern void vPortFree(void *ptr);
             ^
/home/kz/git/Sming/Sming/rboot/appcode/rboot-api.c: In function 'rboot_write_flash':
/home/kz/git/Sming/Sming/rboot/appcode/rboot-api.c:105:2: error: too many arguments to function 'pvPortZalloc'
  buffer = (uint8 *)os_zalloc(len + status->extra_count);
  ^
In file included from /home/kz/git/Sming/Sming/system/include/rboot-integration.h:11:0,
                 from /home/kz/git/Sming/Sming/rboot/appcode/rboot-api.c:10:
/home/kz/git/Sming/Sming/system/include/esp_systemapi.h:72:14: note: declared here
 extern void *pvPortZalloc(size_t);
              ^
/home/kz/git/Sming/Sming/rboot/appcode/rboot-api.c:146:2: error: too many arguments to function 'vPortFree'
  os_free(buffer);
  ^
In file included from /home/kz/git/Sming/Sming/system/include/rboot-integration.h:11:0,
                 from /home/kz/git/Sming/Sming/rboot/appcode/rboot-api.c:10:
/home/kz/git/Sming/Sming/system/include/esp_systemapi.h:74:13: note: declared here
 extern void vPortFree(void *ptr);
             ^
cc1: all warnings being treated as errors
make: *** [out/build//home/kz/git/Sming/Sming/rboot/appcode/rboot-api.o] Error 1

19:08:52 Build Finished (took 1s.33ms)
zhivko
@zhivko
Nov 29 2015 18:21
Does anybody have idea why I cannot compile with 1.4SDK ?
alonewolfx2
@alonewolfx2
Nov 29 2015 18:21
seems you didnt update code
raburton made a pr for this issue
use lastest code
and if you want sdk 1.5 i can send smingframework folder :)
hreintke
@hreintke
Nov 29 2015 18:42
@zhivko :
Are you using latest from develop branch ?
That is prerequisite for SDK 1.4.0 usage
zhivko
@zhivko
Nov 29 2015 18:42
@alonewolfx2: I compared my repo with official sminghub repo - there were no changes to be pulled - I made this in github interface
alonewolfx2
@alonewolfx2
Nov 29 2015 18:43
develop?
zhivko
@zhivko
Nov 29 2015 18:43
@hreintke not develop! Ok I will check develop now.
hreintke
@hreintke
Nov 29 2015 18:44
@alonewolfx2 :
Yes develop, the PR is merged ito develop branch and that is not yet released (to master)
zhivko
@zhivko
Nov 29 2015 18:44
@hreintke: you are right - there are changes in develop branch of sminghub
I will take changes now.
hreintke
@hreintke
Nov 29 2015 18:46
@zhivko : There are lots of changes. The develop branch contains all new features which will be released in next sming version. Some time ago (since sming version 1.3.0) we decided to keep release stable (no changes)
zhivko
@zhivko
Nov 29 2015 18:53
that means a lot of work for me if I want to merge with develop..
Github web interface Can’t automatically merge.
hreintke
@hreintke
Nov 29 2015 18:53
@zhivko :
Do you have that much local changes to sming ?
zhivko
@zhivko
Nov 29 2015 18:55
actually not - but I want to keep my 2 projects
maybe its better to pull sminhub and copy 2 projects
BUT than I loose my all nice comentaries for push and all history ;)
alonewolfx2
@alonewolfx2
Nov 29 2015 18:56
did anyone tried keypad on esp8266
zhivko
@zhivko
Nov 29 2015 18:56
not me :)
hreintke
@hreintke
Nov 29 2015 19:00
@crosofg : What sming version and which application are you using ?
If you need help you should provide more information.
zhivko
@zhivko
Nov 29 2015 21:03
Ugh... I'm on 1.4 sdk now with merges from SmingHub/Sming develop
Can I support Up and Down keys from serial callbackhandler ?
zhivko
@zhivko
Nov 29 2015 21:23
OOPS - getting resets on sdk 1.4:
Type 'help' and press enter for instructions.

pm open phy_2,type:2 0 0
Fatal exception 0(IllegalInstructionCause):
epc1=0x40237770, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 1632, room 16 
tail 0
chksum 0x43
load 0x3ffe8000, len 700, room 8 
tail 4
chksum 0x0b
csum 0x0b

rBoot v1.2.1 - richardaburton@gmail.com
Flash Size:   32 Mbit
It is showing to WDT.o
@alonewolfx2: I had no problem with WDT in 1.3sdk, but in 1.4 my App crashing in WDT.o
Is there some specifics in WDT handling in 1.4 ?
zhivko
@zhivko
Nov 29 2015 21:40
throw out every wdt code out - and now crashing in:
0x40233814 0x13 /home/kz/git/Sming/Sming/compiler/lib//libsming.a(Clock.o)
wtf
in delayMicroseconds
hreintke
@hreintke
Nov 29 2015 21:50
This message was deleted
@zhivko :
No, there currently no support for up & down keys in serial callback.
I will check but have to see how to combine it with the telnet & websockets implemetation.
zhivko
@zhivko
Nov 29 2015 21:57
I can see that in 1.4 sdk I keep getting:
wdt reset
system keeps restarting... not the case in 1.3SDK - my application.cpp is same.
robotiko
@robotiko
Nov 29 2015 21:58
@zhivko json?
there is a huge change in json lib in develop
zhivko
@zhivko
Nov 29 2015 22:01
NO - dont use json at all...
only websockets...
I will try with:
ets_wdt_disable
open-home-automation
@open-home-automation
Nov 29 2015 22:06
Hi all
After porting MySensors to Sming I am now looking at bitlash as a means to react on incoming data from the sensors
But I got stuck with setjmp and longjmp
Anybody ever got those to work?
robotiko
@robotiko
Nov 29 2015 22:15
@open-home-automation I'm not familiar with Mysensors
but look interesting
what are the setjmp and longjmp you refer to?
open-home-automation
@open-home-automation
Nov 29 2015 22:16

@robotiko setjmp.h is a header defined in the C standard library to provide "non-local jumps": control flow that deviates from the usual subroutine call and return sequence. The complementary functions setjmp and longjmp provide this functionality.

A typical use of setjmp/longjmp is implementation of an exception mechanism that exploits the ability of longjmp to reestablish program or thread state, even across multiple levels of function calls. A less common use of setjmp is to create syntax similar to coroutines.

robotiko
@robotiko
Nov 29 2015 22:17
so I gues it is a main source file in the Mysensors
alonewolfx2
@alonewolfx2
Nov 29 2015 22:17
@zhivko disabling wdt not good idea
zhivko
@zhivko
Nov 29 2015 22:18
@alonewolfx2: robotiko suggested that I move to 1.3 sdk... I will do that - however Im not happy cause I want to move forward
alonewolfx2
@alonewolfx2
Nov 29 2015 22:18
also sdk doc says you cant disable more than 6 second. try wdt.alive for feeding wdt
i am using sdk1.5 now
zhivko
@zhivko
Nov 29 2015 22:18
I did that - I copy from your led example...
open-home-automation
@open-home-automation
Nov 29 2015 22:18
@robotiko No, mysensors is working fine
zhivko
@zhivko
Nov 29 2015 22:19
Not good - same result
open-home-automation
@open-home-automation
Nov 29 2015 22:19
I am now trying to get bitlash working
and there is the problem
alonewolfx2
@alonewolfx2
Nov 29 2015 22:19
my led example?
zhivko
@zhivko
Nov 29 2015 22:19
@alonewolfx2: pfalcon doesnt have 1.5 support
hreintke
@hreintke
Nov 29 2015 22:19
@open-home-automation :
Why would you use/implement bitlash to reading data when you can do the same in sming.
Bitlash is not updated the last two-three years
zhivko
@zhivko
Nov 29 2015 22:19
@alonewolfx2: you just modified make in open-sdk ?
alonewolfx2
@alonewolfx2
Nov 29 2015 22:19
no i am on windows
zhivko
@zhivko
Nov 29 2015 22:20
AH.. ok.
is anyone on linux on 1.5 ? @hreintke maybe ?
robotiko
@robotiko
Nov 29 2015 22:20
nopes
alonewolfx2
@alonewolfx2
Nov 29 2015 22:20
btw i didnt make it compile esp-open-sdk anytime :)
hreintke
@hreintke
Nov 29 2015 22:21
@zhivko :
If you have application that needs wdt.disable you maybe should adapt to sming like event driven app.
robotiko
@robotiko
Nov 29 2015 22:21
@open-home-automation I'm with @hreintke ..
sming has a great command_processor integrated
that is fully sming compliant
open-home-automation
@open-home-automation
Nov 29 2015 22:21
@hreintke I need some way to react on input. And bitlash allows scripts which I can download via http
robotiko
@robotiko
Nov 29 2015 22:22
honors go to @hreintke
@open-home-automation it looks a quite powerful serial script
but porting to sming will be a lot of fun
open-home-automation
@open-home-automation
Nov 29 2015 22:23
@robotiko it is powerful indeed
if command_processor would allow scripts to be downloaded over http...
hreintke
@hreintke
Nov 29 2015 22:23
@zhivko :
No, I am on windows. SDK 1.4.0.
robotiko
@robotiko
Nov 29 2015 22:24
@open-home-automation but looks liek too embedded into arduino stuff
so I guess.. it will be not very valuable in sming
becuase it wont work that easily
zhivko
@zhivko
Nov 29 2015 22:24
@hreintke: I am doing 4 loops with 8uS delay - that is nothing - agree ?
robotiko
@robotiko
Nov 29 2015 22:25
@zhivko 4 loops of 4us.. shoudl not hugh cpu
so that should not be teh issue
zhivko
@zhivko
Nov 29 2015 22:25
that is 32uS delay... because stepper needs this... I tried wdt.feed in that loop - but didn't help
yes this is very small delay as I understand - @hreintke ?
alonewolfx2
@alonewolfx2
Nov 29 2015 22:26
try wdt.alive in loop
open-home-automation
@open-home-automation
Nov 29 2015 22:26
@robotiko are there alternatives?
zhivko
@zhivko
Nov 29 2015 22:26
But listen guys - if it turns out that in 1.3 same application.cpp works without wdt.delay - than what???
@alonewolfx2: im installing 1.3 now back... will wait for that :)
robotiko
@robotiko
Nov 29 2015 22:27
@zhivko rst cause:2, boot mode:(3,6)
hreintke
@hreintke
Nov 29 2015 22:27
@zhivko : agree that should not trigger wdt.
robotiko
@robotiko
Nov 29 2015 22:27
is what you have
reset cause 2: normally during a reset caused by a nRESET transient
I recall you were usign a custom made board
can it be hw with sdk update coindicence?
if you roll back SDK and have same issue will find out
zhivko
@zhivko
Nov 29 2015 22:34
pm open phy_2,type:2 0 0
Fatal exception 0(IllegalInstructionCause):
epc1=0x4023778c, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000

 ets Jan  8 2013,rst cause:4, boot mode:(3,6)
zhivko
@zhivko
Nov 29 2015 22:39
Now it is crashing in WDT.alive();
            0x4023778c        0xf /home/kz/git/Sming/Sming/compiler/lib//libsming.a(WDT.o)
                             0x17 (size before relaxing)
            0x4023778c                _ZN8WDTClass5aliveEv
I put that alive in hw timer event.
hreintke
@hreintke
Nov 29 2015 22:45
@zhivko : not completely sure but as I said before :
HW-Timer is using very low-level NMI interrupts. Very time sensitive.
All functions should be in RAM, Flash functions will crash. I would be surprised if wdt would run from RAM.
zhivko
@zhivko
Nov 29 2015 22:52
As I see WDT is a counter that needs to be reseted every now and then and normally by "system" itself -my rom0.bin is 275kb in size, but I cannot see weather any of my methods are in FLash and/or RAM....
hreintke
@hreintke
Nov 29 2015 22:54
All Sming functions are in flash unless preceded with IRAM_ATTR attribute. And that function internally should not call other sming or sdk functions which reside in flash.
robotiko
@robotiko
Nov 29 2015 22:57
@open-home-automation as alternative you can use internal comand processor
and define your own commands (lower level)
open-home-automation
@open-home-automation
Nov 29 2015 22:58
@robotiko And then feed it myself with a script from flash?
robotiko
@robotiko
Nov 29 2015 22:58
@open-home-automation what are you trying to do?
open-home-automation
@open-home-automation
Nov 29 2015 22:58
I have a motion sensor and a relay
robotiko
@robotiko
Nov 29 2015 22:58
aha
open-home-automation
@open-home-automation
Nov 29 2015 22:59
they both connect to the ESP via MySensors
Now I want the ESP to enable the relay if motion is detected
robotiko
@robotiko
Nov 29 2015 22:59
ok
open-home-automation
@open-home-automation
Nov 29 2015 22:59
but not in a fixed way, by means of dynamic rules
robotiko
@robotiko
Nov 29 2015 22:59
and those rules.. are in?
externally decided?
like node-red or something like?
open-home-automation
@open-home-automation
Nov 29 2015 23:00
The end user makes them via a webpage in a graphic way, javascript translates them into something the ESP understands
robotiko
@robotiko
Nov 29 2015 23:00
I'm not familiar with my sensors but looks like and abstraction layer for devices
open-home-automation
@open-home-automation
Nov 29 2015 23:01
true, it is just a way to communicate with remote hardware
robotiko
@robotiko
Nov 29 2015 23:01
ok
open-home-automation
@open-home-automation
Nov 29 2015 23:01
same could apply to a sensor and relay directly connected to the ESP
robotiko
@robotiko
Nov 29 2015 23:01
ok
the only thing you need it a command
somethign liek
relay_on relay_off
right?
open-home-automation
@open-home-automation
Nov 29 2015 23:02
In the end I want something like
zhivko
@zhivko
Nov 29 2015 23:02
trying now to build develop branch with 1.3 and have errors with missing symbols like:
SmingCore/Network/../../SmingCore/../SmingCore/Network/../Platform/Station.h:36:25: error: 'SC_TYPE_ESPTOUCH_AIRKISS' was not declared in this scope
SCT_EspTouch_AirKiss = SC_TYPE_ESPTOUCH_AIRKISS
open-home-automation
@open-home-automation
Nov 29 2015 23:02
if motion & it is too cold & heating is enabled set relay on so the heating kicks in
hreintke
@hreintke
Nov 29 2015 23:03
@zhivko : You cannot use develop branch with SDK 1.3.0. Only compatible with SDK 1.4.0
robotiko
@robotiko
Nov 29 2015 23:04
@open-home-automation ok I get that
but where is the decission made?
outside sming?
so sming is just a slave?
to turn on an doff the relay
when rule engine decides
yes?
or the logic is also in sming?
open-home-automation
@open-home-automation
Nov 29 2015 23:05
logic inside sming
robotiko
@robotiko
Nov 29 2015 23:05
the rule engine?
open-home-automation
@open-home-automation
Nov 29 2015 23:06
yes
robotiko
@robotiko
Nov 29 2015 23:06
so it is the master and enquiris teh sensor in a netwoek?
network
there is no rule engine in sming
open-home-automation
@open-home-automation
Nov 29 2015 23:06
yes
robotiko
@robotiko
Nov 29 2015 23:06
so if rulesa re to be laoded dynamically
open-home-automation
@open-home-automation
Nov 29 2015 23:06
ESP rules everything, also the sensor network :-)
robotiko
@robotiko
Nov 29 2015 23:06
you will have to create your own rule engine
if you want to use a serious algorithm
@open-home-automation just had a fast look
open-home-automation
@open-home-automation
Nov 29 2015 23:08
I want simple rules, preferably a simple script to be executed
robotiko
@robotiko
Nov 29 2015 23:08
the lib you want to use
Dmitry Kireev
@kireevco
Nov 29 2015 23:09
did you guys use node-red? how is it?
robotiko
@robotiko
Nov 29 2015 23:09
is not a rule engine is a command processor with a custom lanaguage and parser
hreintke
@hreintke
Nov 29 2015 23:09
@open-home-automation :
You should look at openhab as "rule engine" which communicates with esp
Dmitry Kireev
@kireevco
Nov 29 2015 23:09
or openhab..
@hreintke wahat do you think about openhab?
robotiko
@robotiko
Nov 29 2015 23:09
is waaay more simle than a rule engine.. with all the logic back propagation and stuff
open-home-automation
@open-home-automation
Nov 29 2015 23:10
@hreintke I know openhab rules, but I want everything nicely in the ESP
@robotiko that is why I was looking at bitlash
robotiko
@robotiko
Nov 29 2015 23:10
I was referring to bitslash
is a command processor with custom language and parser
there is nothing like that in sming
and porting it.. can give headaches if too deeply integrated with arduino
woudl have to dive in the implementation
@kireevco openhab is quite mature
and great in device integration
node-red is a diffrent thing .. more wiring
and logic ..
also check the openhab2 ..
Dmitry Kireev
@kireevco
Nov 29 2015 23:16
I always felt it is not very accessible for external developers. how do you script in openhab?
hreintke
@hreintke
Nov 29 2015 23:16
@kireevco : agree with @robotiko :
I did "only" some experimenting but is good for integrating different kind of modules.
also for saving historical data
open-home-automation
@open-home-automation
Nov 29 2015 23:17
@robotiko I one played with embedvm, that would require me to compile the script though
Dmitry Kireev
@kireevco
Nov 29 2015 23:18
is there anything where you script in JS?:)
or python?
like a DSL...
hreintke
@hreintke
Nov 29 2015 23:19
@kireevco : you don't need to develop openhab (unless you want to integrate own modules).
You can use the generic http/tcp for connectivity and create rules for that
robotiko
@robotiko
Nov 29 2015 23:20
@kireevco there are js DSL and some homeautomaton even use a rule engine similar to java drools
Dmitry Kireev
@kireevco
Nov 29 2015 23:20
interesing
robotiko
@robotiko
Nov 29 2015 23:20
yup
:D