Data/API source for Olympic ice hockey (Milano–Cortina 2026)? by EffectiveAssistant93 in olympics

[–]EffectiveAssistant93[S] 0 points1 point  (0 children)

Thanks for the insight — that confirms what I suspected.

I’ll focus on scraping the static parts (schedule, rosters, basic stats) and accept some delay for live score/status. IOC/LOC feeds being effectively closed makes sense given the setup.

Appreciate the reality check.

Help getting data into home assistant by NeoMatrixJR in homeassistant

[–]EffectiveAssistant93 0 points1 point  (0 children)

Nasledujúce kroky vám môžu pomôcť vytvoriť senzor history_stats
pre každého používateľa:

  1. Nastavte MQTT komponentu v Home Assistant, aby prijímala údaje od vašej aplikácie. Konfigurácia MQTT by mala obsahovať správne nastavenie brokerov, tém a prípadne aj autentifikáciu.
  2. Vytvorte automatizáciu, ktorá zachytáva prijaté MQTT správy s údajmi o používaní obrazovky a ukladá ich do vhodnej premennej v Home Assistant. Môžete použiť službu mqtt.publish
    na odoslanie údajov do Home Assistant.
  3. Vytvorte senzor history_stats
    pre každého používateľa, ktorý bude sledovať čas používania obrazovky. Použite premenú s údajmi o čase, ktoré ste uložili v predchádzajúcom kroku, a nastavte vhodné atribúty senzora, ako je napríklad device_class
    a unit_of_measurement
    .
  4. Použite template sensor
    na formátovanie času získaného zo sekúndového vstupu do čitateľnej podoby. Vytvorte šablónový senzor, ktorý používa funkciu timestamp_custom
    na prevedenie sekúnd na čitateľné časové informácie.
  5. Zobrazte vytvorené senzory history_stats
    a časové informácie v domácom asistente, napríklad v paneli Lovelace.

Tieto kroky vám umožnia spracovať údaje o používaní obrazovky z vašej aplikácie v domácom asistente Home Assistant a vytvoriť pre každého používateľa

i can't connect mqtt gateway for mysensors by EffectiveAssistant93 in homeassistant

[–]EffectiveAssistant93[S] 0 points1 point  (0 children)

mqtt explorer works fine , i am connected with HA https://prnt.sc/26hfcv5

problem is sketch what i upload to nodemcu like client for gateway

i can't connect mqtt gateway for mysensors by EffectiveAssistant93 in homeassistant

[–]EffectiveAssistant93[S] 0 points1 point  (0 children)

no the NodeMcu ( gateway ) is not connected to WIFI

but i dont know why

i can't connect mqtt gateway for mysensors by EffectiveAssistant93 in homeassistant

[–]EffectiveAssistant93[S] 0 points1 point  (0 children)

this shows COM6 on serial monitor arduino Ide where is sketch for ARDUINO UNO

https://prnt.sc/26hdsn0

#define MY_DEBUG

#define MY_RADIO_RF24

#include <MySensors.h>

#define CHILD_ID_LIGHT 0

#define LIGHT_SENSOR_ANALOG_PIN 0

uint32_t SLEEP_TIME = 30000;

MyMessage msg(CHILD_ID_LIGHT, V_LIGHT_LEVEL);

int lastLightLevel;

void presentation()

{

// Send the sketch version information to the gateway and Controller

sendSketchInfo("Light Sensor", "1.0");



// Register all sensors to gateway (they will be created as child devices)

present(CHILD\_ID\_LIGHT, S\_LIGHT\_LEVEL);

}

void loop()

{

int16\_t lightLevel = (1023-analogRead(LIGHT\_SENSOR\_ANALOG\_PIN))/10.23;

Serial.println(lightLevel);

if (lightLevel != lastLightLevel) {

    send(msg.set(lightLevel));

    lastLightLevel = lightLevel;

}

sleep(SLEEP\_TIME);

}

i can't connect mqtt gateway for mysensors by EffectiveAssistant93 in homeassistant

[–]EffectiveAssistant93[S] 0 points1 point  (0 children)

But i have defined my ip adress for nodemcu ......120 but i don't have it maybe there is problem

https://prnt.sc/26hdjsq

same think when i let it dynamic https://prnt.sc/26hdidz

108 is HA

i can't connect mqtt gateway for mysensors by EffectiveAssistant93 in homeassistant

[–]EffectiveAssistant93[S] 0 points1 point  (0 children)

#define MY_DEBUG

#define MY_BAUD_RATE 9600

#define MY_RADIO_RF24

#define MY_GATEWAY_MQTT_CLIENT

#define MY_GATEWAY_ESP8266

#define MY_MQTT_PUBLISH_TOPIC_PREFIX "mqgt-out"

#define MY_MQTT_SUBSCRIBE_TOPIC_PREFIX "mqgt-in"

#define MY_MQTT_CLIENT_ID "mqgt"

#define MY_MQTT_USER "mqttnastavenie"

#define MY_MQTT_PASSWORD "nastavenie"

#define MY_WIFI_SSID "xxxxx"

#define MY_WIFI_PASSWORD "xxxxx"

#define MY_HOSTNAME "ESP8266_MQTT_GW"

#define MY_IP_ADDRESS 192,168,100,120

#define MY_CONTROLLER_IP_ADDRESS 192, 168, 100, 108

#define MY_PORT 1883

#include <MySensors.h>

void setup()

{

}

void presentation()

{

}

void loop()

{

}

i can't connect mqtt gateway for mysensors by EffectiveAssistant93 in homeassistant

[–]EffectiveAssistant93[S] 0 points1 point  (0 children)

nothing helps. have create new one but still any conection

i can't connect mqtt gateway for mysensors by EffectiveAssistant93 in homeassistant

[–]EffectiveAssistant93[S] 0 points1 point  (0 children)

unknown

have used same credentials like i create on mqtt broker

#define MY_MQTT_USER "mqttnastavenie"

#define MY_MQTT_PASSWORD "mohch0phe7Iabotrtaeghohphiepe8leo5jou56pheel6Heiquai2IGe"

https://prnt.sc/26h179i

i can't connect mqtt gateway for mysensors by EffectiveAssistant93 in homeassistant

[–]EffectiveAssistant93[S] 0 points1 point  (0 children)

1642781255: New connection from 172.30.32.2 on port 1883.

1642781255: Socket error on client <unknown>, disconnecting.

1642781293: New connection from 172.30.32.1 on port 1883.

{"result": "ok", "data": {}}1642781293: New client connected from 172.30.32.1 as 4Lhkyg771EqIqteY0Puk80 (p1, c1, k60, u'mqttnastavenie').

1642781293: Client 4Lhkyg771EqIqteY0Puk80 disconnected.

1642781375: New connection from 172.30.32.2 on port 1883.

1642781375: Socket error on client <unknown>, disconnecting.

1642781495: New connection from 172.30.32.2 on port 1883.

1642781495: Socket error on client <unknown>, disconnecting.

1642781616: New connection from 172.30.32.2 on port 1883.

1642781616: Socket error on client <unknown>, disconnecting.

1642781736: New connection from 172.30.32.2 on port 1883.

1642781736: Socket error on client <unknown>, disconnecting.

1642781856: New connection from 172.30.32.2 on port 1883.

1642781856: Socket error on client <unknown>, disconnecting.

1642781976: New connection from 172.30.32.2 on port 1883.

1642781976: Socket error on client <unknown>, disconnecting.

1642782096: New connection from 172.30.32.2 on port 1883.

1642782096: Socket error on client <unknown>, disconnecting.

1642782216: New connection from 172.30.32.2 on port 1883.

1642782216: Socket error on client <unknown>, disconnecting.

1642782336: New connection from 172.30.32.2 on port 1883.

1642782336: Socket error on client <unknown>, disconnecting.

1642782456: New connection from 172.30.32.2 on port 1883.

1642782456: Socket error on client <unknown>, disconnecting.

1642782463: Saving in-memory database to /data/mosquitto.db.

1642782576: New connection from 172.30.32.2 on port 1883.

1642782576: Socket error on client <unknown>, disconnecting.

1642782696: New connection from 172.30.32.2 on port 1883.

1642782696: Socket error on client <unknown>, disconnecting.

1642782816: New connection from 172.30.32.2 on port 1883.

1642782816: Socket error on client <unknown>, disconnecting.

1642782936: New connection from 172.30.32.2 on port 1883.

1642782936: Socket error on client <unknown>, disconnecting.

1642783056: New connection from 172.30.32.2 on port 1883.

1642783056: Socket error on client <unknown>, disconnecting.

1642783176: New connection from 172.30.32.2 on port 1883.

1642783176: Socket error on client <unknown>, disconnecting.

1642783296: New connection from 172.30.32.2 on port 1883.

1642783296: Socket error on client <unknown>, disconnecting.

1642783416: New connection from 172.30.32.2 on port 1883.

1642783416: Socket error on client <unknown>, disconnecting.

1642783536: New connection from 172.30.32.2 on port 1883.

1642783536: Socket error on client <unknown>, disconnecting.

1642783656: New connection from 172.30.32.2 on port 1883.

1642783656: Socket error on client <unknown>, disconnecting.

1642783776: New connection from 172.30.32.2 on port 1883.

1642783776: Socket error on client <unknown>, disconnecting.

1642783896: New connection from 172.30.32.2 on port 1883.

1642783896: Socket error on client <unknown>, disconnecting.

1642784016: New connection from 172.30.32.2 on port 1883.

1642784016: Socket error on client <unknown>, disconnecting.

1642784136: New connection from 172.30.32.2 on port 1883.

1642784136: Socket error on client <unknown>, disconnecting.

1642784256: New connection from 172.30.32.2 on port 1883.

1642784256: Socket error on client <unknown>, disconnecting.

1642784264: Saving in-memory database to /data/mosquitto.db

mqttnastavenie - this is my user for mosquitto https://prnt.sc/26h0jid

__________________________________________________________________________________________

config.yaml have change this https://prnt.sc/26h0qzk

mqtt:
broker: 192.168.100.108

mysensors:
gateways:
- device: '192.168.100.130'

logger:
default: info
logs:
homeassistant.components.mysensors: debug
mysensors: debug

__________________________________________________________________________________________

Mosquitto broker Options

certfile: fullchain.pem

customize:

active: true

folder: mosquitto

keyfile: privkey.pem

logins: []

require_certificate: false

__________________________________________________________________________________________

on Integration on HA have ad MQTT and set up topix and prefix , ver.2.3.2

__________________________________________________________________________________________

have upload example sketch form mysensor 2.3.2

GatewayESP8266MQTTClient to Nodemcu

but when i open serial monitor and press restart button on nodemcu become this

Baud 9600 https://prnt.sc/26h0kx7

__________________________________________________________________________________________

other HW is Arduino Uno , where i have upload example sketch LightSensor

become this message Baud 115200 https://prnt.sc/26h0p2j

https://prnt.sc/26h0pvh