Coder Social home page Coder Social logo

Cant recieve anything about smarthome HOT 6 OPEN

merlokk avatar merlokk commented on June 27, 2024
Cant recieve anything

from smarthome.

Comments (6)

merlokk avatar merlokk commented on June 27, 2024

Hi

"DE/RE" to 3.3V as Enable is not good. you need the module with auto transmit control. if not - i see that you can add this functionality to softwareSerial. but its not so easy(

sometimes SDM630 (usually version 1) have different modbus register addresses (they start from 0). needs to check too...

from smarthome.

thenewardu avatar thenewardu commented on June 27, 2024

Thank you for your answer.
today arrived my module with auto transmit control but its still not working :(

I have an SDM630 V2
do i think right that rx and tx from the modul have connected to the esp rx and tx pins (GPIO1 and GPIO3 ?)
The rx and tx LED´s of the RS485 module are not blinking or something

Do i have modify some files ? i have just compile your Eastron example without modify something.

on iobroker there are following informations, but no registers visible.

I would like to use your Eastron project so much.
Thank you
IObroker

from smarthome.

merlokk avatar merlokk commented on June 27, 2024

maybe something changes...
try this bin file https://github.com/merlokk/SmartHome/releases/tag/release_1.00

TX (IO1) needs to go to RX 485 module
RX(IO3) go to TX RS485 module
to not to break esp with wrong connection i connect them via 50R resistors

P.S. try to connect leds:
LED1 - GPIO12 ESP8266
LED2 - GPIO14 ESP8266
maybe they shows something

from smarthome.

thenewardu avatar thenewardu commented on June 27, 2024

I have uploaded your bin file on my nodemcu (NodeMCU Lua Amica Modul V2 ESP8266 ESP-12F)

both LED´s are on, but i think there is no polling, because the LED´s on the RS485 module are not blinking (there is no communication to the SDM630)

Is my nodemcu eventually not compatibel ?
Do i need an WeMos D1 Mini Pro 16MB ?

Thank you

from smarthome.

merlokk avatar merlokk commented on June 27, 2024

usually NodeMCU cant work this way. because software uses serial port, that is already used in USB/TTL converter.
you can check if rs485 works by open serial port (usb) at speed 9600

from smarthome.

merlokk avatar merlokk commented on June 27, 2024

I have looked at source. maybe if create SoftwareSerial here
https://github.com/merlokk/SmartHome/blob/master/ESP8266EASTRON/ESP8266EASTRON.ino#L74
and link it to eastron.SetSerial - it will work.

from smarthome.

Related Issues (20)

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.