Coder Social home page Coder Social logo

Can´t compile about espimaticrf HOT 6 CLOSED

hyp3rx avatar hyp3rx commented on September 1, 2024
Can´t compile

from espimaticrf.

Comments (6)

koffienl avatar koffienl commented on September 1, 2024

What version of Arduino IDE and ESP8266 core for arduino are you using?

from espimaticrf.

hyp3rx avatar hyp3rx commented on September 1, 2024

It was the wrong IDE Version. Now with 1.6.5 compiling works. But having now other problems inside pimatic.

error [pimatic]: Could not initialize the plugin "homeduino": receiverPin must be 0 or 1

What could be wrong ?

from espimaticrf.

koffienl avatar koffienl commented on September 1, 2024

The homeduino plugin (on the pimatic side) can't handle all the pin numberings used on the ESP side. Therefore these pin numbers in the plugin config are ignored on the ESP.
Just provide some default pin numbers on the pimatic side:

{
  "plugin": "homeduino",
  "driver": "serialport",
  "driverOptions": {
    "serialDevice": "/dev/ttyUSB0",
    "baudrate": 115200
  },
  "receiverPin": 0,
  "transmitterPin": 4,
  "dstSearchAddressPin": 12
}

You can enter the actual pin numbers in the config on the ESPimaticRF side : https://github.com/koffienl/ESPimaticRF/wiki/Installing-ESPimaticRF#configuring-the-homeduino

from espimaticrf.

hyp3rx avatar hyp3rx commented on September 1, 2024

This is my config:

{
  "plugin": "homeduino",
  "driver": "serialport",
  "debug": true,
  "active": true,
  "driverOptions": {
    "serialDevice": "/dev/ttyUSB3",
    "baudrate": 115200
  },
  "receiverPin": 4,
  "transmitterPin": 5,
  "rfrepeats": 7,
  "enableReceiving": true,
  "apikey": "240282"
},

Still the same !

edit Understand .... it must be "0"
will retest now !

from espimaticrf.

koffienl avatar koffienl commented on September 1, 2024

You are using pin numbers that the pimatic-homeduino plugin can't handle : https://pimatic.org/plugins/pimatic-homeduino/
Change it to:

 "receiverPin": 0,
  "transmitterPin": 4,

from espimaticrf.

koffienl avatar koffienl commented on September 1, 2024

Added to the wiki : https://github.com/koffienl/ESPimaticRF/wiki/Problems-&-Errors#im-getting-a-error-on-starting-the-pimatic-homeduino-plugin

from espimaticrf.

Related Issues (4)

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.