Coder Social home page Coder Social logo

espimaticrf's People

Contributors

koffienl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

espimaticrf's Issues

Need help with setup

hi,

i just started setting up a nodeMCU as homeduino device for my pimatic installtion (running on raspberry pi) and can not get it to work. Before, I had used an arduino mega 2560 (clone) with the same receiver and transmitter hardware, which did work. So maybe somebody can help me out here? Any input would be greatly appreciated.

version: ESPimaticRF v0.0.3
config:
mode: homeduino
receiver pin: 0
transmitter pin: 2 [not using a transmitter atm while testing, but leaving this empty does not solve my problem]
receive action: send to pimatic
transmit action: both
UDP repeat: 1 [was initially on 1, did not change the value]
wifi credentials according to my wifi setup

on pimatic:
plugin homeduino version: homeduino 0.9.11 (loaded, activated)
driver: serialport
serialDevice: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
[did an ls /dev/serial/by-id on my raspberry pi, this was the only device found]
baudrate: 115200
enable receiving: yes
receiver pin: 0
transmitter pin: 2
enable DSTSensors: no / not activated
dstSearchAddressPin: default / not activated (12)
connectionTimeout: default / not activated (300000)
debug: yes
apikey: otwirsuhlskfjs47rts (example) [i guess this will only be set in the following nodes because i did not have to enter an apikey in the ESPimaticRF homeduino device]

wires:
node 3V -> 433 receiver VCC
node G -> 433 receiver GND
node D0 -> 433 receiver DATA [there are two DATA pins but afaik either one is fit for use]
node microusb -> raspberry pi usb (device see above)

log in pimatic (debug, info, warn, error)

warn [pimatic-homeduino]: Couldn't connect (Serialport not open.), retrying... 2017-05-31 11:00:02
info [pimatic-homeduino]: Connected to homeduino device. 10:50:42

when i restart the nodeMCU i get this input:

debug [pimatic-homeduino]: data: "Receiving **op** pin 0"
11:10:50 debug [pimatic-homeduino]: data: <myIP>
11:10:50 debug [pimatic-homeduino]: data: "IP address:"
11:10: 50debug [pimatic-homeduino]: data: <myWIFI>
11:10:50 debug [pimatic-homeduino]: data: "Connected to"
11:10:50 debug [pimatic-homeduino]: data: ""
11:10:50 debug [pimatic-homeduino]: data: "."
11:10:49 debug [pimatic-homeduino]: data: "."
11:10:48 debug [pimatic-homeduino]: data: "."
11:10:47 debug [pimatic-homeduino]: data: "."
11:10:46 debug [pimatic-homeduino]: data: "<myWIFI>
11:10:46 debug [pimatic-homeduino]: data: "~ld
�Connecting to :"

however, pushing buttons on my remote does nothing. no input is registered (according to messages tab in pimatic), device is not triggered.

how is this possible? i have already tried changing receiver pin: 0 to receiver pin: D0, but that does not help either.

i am expecting a new receiver and sender module in the mail today, however, those are 5V, not 3.3V, so i am not sure if i will use them on this module (for now, it is set up as a homeduino device, however, once i receive my additional nodes and receivers/transmitters, i will move my pimatic pi to another room and leave this particular nodeMCU there as a node rather than a homeduino device).

i will cross-post this in the homeduino forums and link to this page. thanks in advance for your support =)

[Bug] Not receiving with fresh pimatic start, works when pimaticrf is restarted

Hi,

I have an odd bug:

When I restart / start pimatic. Sending with the pimaticrf (only one in homeduino mode) works fine. But it doesn't receive any rf messages, no error, simply no receiving.

However, when I restart pimaticrf via the http webinterface, with pimatic running, receiving AND sending is working again!

Anyone with the same problem? It started a while back (about 3 month maybe?) I am using lastest pimaticrf and latest pimatic version. I already changed the gpio pin, the receiver and cables.

Just wanted to share this odd error, maybe there is an easy fix for this. Since I didn't get any error messages with debug enabled, I cannot share any log files..

Can´t compile

Hello,
got:

exit status 1
'send_udp' was not declared in this scope

So can´t compile it !

TimeoutError: operation timed out

Hello,
after having trouble moving from older homeduino (arduino) now to ESPimaticRF, the problems are back.

23:22:13error [pimatic-homeduino]: [TimeoutError: operation timed out]
23:22:13error [pimatic-homeduino]: TimeoutError: operation timed out
at afterTimeout (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/bluebird/js/main/timers.js:11:15)
at null.timeoutTimeout (/home/pi/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/bluebird/js/main/timers.js:53:9)
at Timer.listOnTimeout (timers.js:92:15)
23:22:13error [pimatic-homeduino]: Couldn't connect to homeduino device: operation timed out.

Still i can receive RF-signals frome node ! At the moment i still don´t know what i can do now because homeduino itself can be reached without any problems.
I have an idea why:
I have another USB to Serial device and this could conflict with the homeduino itself

in /dev/serial/by-id/
The homeduino device is NOT listend ! But it is attached on ttyUSB3 !

Here the list of all devices.

lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 005: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 006: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 007: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 008: ID 1bcf:0c31 Sunplus Innovation Technology Inc. SPIF30x Serial-ATA bridge
Bus 001 Device 009: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter

Strange that both devices got exactly the SAME ID !?
Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.