Comments (2)
та же проблема
оба запроса на /stations и /yandexdevices падают с кодом 404
не совсем понятно про условие наличия устройства в одной подсети. Оно необходимо для поиска станций или только для работы с ними?
from node-red-contrib-yandex-station-management.
на скорую руку починил таким изменением, заработало
правда там еще почему-то отваливается checkSheduler
полностью убивая nodered, так что имеет смысл обернуть его в try .. catch ну или хотя бы проверять что daySheduler
вообще defined после sheduler.find
. Что вполне себе кейс, учитывая что там в коде парой строк выше let sheduler = ... ? ... : [];
diff --git a/nodes/yandex-login.js b/nodes/yandex-login.js
--- a/nodes/yandex-login.js (revision 732ae0c168649dcc259568437577963192856d73)
+++ b/nodes/yandex-login.js (date 1695241534879)
@@ -42,6 +42,10 @@
function deviceListProcessing(deviceList) {
deviceList.forEach(device => {
+ if (device.networkInfo && !device.address) {
+ device.port = device.networkInfo.external_port;
+ device.address = device.networkInfo.ip_addresses[0];
+ }
if (device.address && device.port ) {
if (node.readyList.find(item => item.id == device.id)){
from node-red-contrib-yandex-station-management.
Related Issues (14)
- Передача команд в массиве mgs.payload HOT 3
- Поддержка 2FA HOT 4
- Очередь для TTS HOT 4
- Перезагрузка NR HOT 1
- Список покупок
- Не находит станцию HOT 19
- Не видит третью станцию HOT 3
- Не отображается Исполнитель в web интерфейсе
- Не находится колонка. HOT 2
- crash node-red - [error] Error: setMulticastLoopback EBADF HOT 2
- Ошибка ноды Station HOT 1
- Не отображается в списке Станций - Станция Макс HOT 2
- Краш Node Red HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-contrib-yandex-station-management.