Giter VIP home page Giter VIP logo

Comments (7)

serfer12 avatar serfer12 commented on June 23, 2024 1

https://megawrzuta.pl/download/d95b03baafae64d8bf82e4f6277a58f0.html

from mysensors.

serfer12 avatar serfer12 commented on June 23, 2024 1

english follows

Zgadza się Twój sketch działa na 34
dzięki

english

yours sketch is working fine with 31+ (e.g. 34) sensors

from mysensors.

Kirizaki avatar Kirizaki commented on June 23, 2024

Share your changes please

from mysensors.

Kirizaki avatar Kirizaki commented on June 23, 2024

Please follow:

  1. Checkout test_more_sensors_then_31: https://github.com/th0m4sek/mysensors/tree/test_more_sensors_then_31
  2. Build & flash Arduino with given sketch without changing anything
  3. Remove old mysensor.json from HomeAssistant and reboot HomeAssistant

Result expected:
HomeAssistant should show 34 sensors based on:

std::vector<CustomSensor> customSensors = std::vector<CustomSensor>() = {
  { CustomSensor(SALOON_1_ID,       "Salon S1",       24) },
  { CustomSensor(SALOON_2_ID,       "Salon S2",       25) },
  { CustomSensor(SALOON_3_ID,       "Salon Lampka",   26) },
  { CustomSensor(GAMING_ROOM_1_ID,  "Gralnia S1",     27) },
  { CustomSensor(GAMING_ROOM_2_ID,  "Gralnia S2",     28) },
  { CustomSensor(BEDROOM_ID,        "Sypialnia",      29) },
  { CustomSensor(BED_1_ID,          "Lozko 1",        30) },
  { CustomSensor(BED_2_ID,          "Lozko 2",        31) },
  { CustomSensor(GUESTS_ID,         "Goscinny",       32) },
  { CustomSensor(BATHROOM_1_ID,     "Lazienka",       33) },
  { CustomSensor(BATHROOM_2_ID,     "Prysznic",       34) },
  { CustomSensor(MIRROR_ID,         "Lustro",         35) },
  { CustomSensor(FAN_ID,            "Wentylator",     36) },
  { CustomSensor(KITCHEN_1_ID,      "Kuchnia",        37) },
  { CustomSensor(KITCHEN_2_ID,      "Kuchnia ledy",   38) },
  { CustomSensor(KITCHEN_TABLE_ID,  "Kuchnia stolik", 39) },
  { CustomSensor(WORKSHOP_ID,       "Warsztat",       40) },
  { CustomSensor(CORRIDOR_ID,       "Korytarz",       41) },
  { CustomSensor(PUMP_ID,           "Pompa",          42) },
  { CustomSensor(HEATING_1_ID,      "Strefa 1",       43) },
  { CustomSensor(HEATING_2_ID,      "Strefa 2",       44) },
  { CustomSensor(HEATING_3_ID,      "Strefa 3",       45) },
  { CustomSensor(HEATING_4_ID,      "Strefa 4",       46) },
  { CustomSensor(HEATING_5_ID,      "Strefa 5",       47) },
  { CustomSensor(HEATING_6_ID,      "Strefa 6",       48) },
  { CustomSensor(HEATING_7_ID,      "Strefa 7",       49) },
  { CustomSensor(DUMMY_1_ID,        "Test 1",         49) },
  { CustomSensor(DUMMY_2_ID,        "Test 2",         49) },
  { CustomSensor(DUMMY_3_ID,        "Test 3",         49) },
  { CustomSensor(DUMMY_4_ID,        "Test 4",         49) },
  { CustomSensor(DUMMY_5_ID,        "Test 5",         49) },
  { CustomSensor(DUMMY_6_ID,        "Test 6",         49) },
  { CustomSensor(DUMMY_7_ID,        "Test 7",         49) },
  { CustomSensor(DUMMY_8_ID,        "Test 8",         49) }
};

How's the result?

from mysensors.

Kirizaki avatar Kirizaki commented on June 23, 2024

https://megawrzuta.pl/download/d95b03baafae64d8bf82e4f6277a58f0.html

By the way, we will return to those changes. Right now let's focus on main problem not working Arduino-HA with more then 31 sensors and there are some other problems in your code.

from mysensors.

Kirizaki avatar Kirizaki commented on June 23, 2024

No problem in code.
Cosing reason: wrong usage

from mysensors.

Kirizaki avatar Kirizaki commented on June 23, 2024

Solution: Do not duplicate child_id.

from mysensors.

Related Issues (16)

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.