joshendriks / pimatic-node-red Goto Github PK
View Code? Open in Web Editor NEWNode-red for pimatic
License: Apache License 2.0
Node-red for pimatic
License: Apache License 2.0
Hi again
I see this error when starting
29 Jun 16:09:04 - [warn] [XML] Error: Cannot find module './_assignValue'
29 Jun 16:09:04 - [warn] ------------------------------------------------------
29 Jun 16:09:04 - [info] User directory : /home/pi/pimatic-app/node_modules/pimatic-node-red/../../
Is it something to worry about?
Hi,
i tried to install node-red-dashboard, but this failed multiple times:
Error: Command failed: npm install --production node-red-dashboard
npm WARN deprecated [email protected]: Just use Array.isArray directly
npm ERR! tar.unpack untar error /root/.npm/component-emitter/1.2.1/package.tgz
npm ERR! tar.unpack untar error /root/.npm/debug/2.6.7/package.tgz
npm ERR! tar.unpack untar error /root/.npm/ms/2.0.0/package.tgz
npm ERR! Linux 4.4.38-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production" "node-red-dashboard"
npm ERR! node v4.8.3
npm ERR! npm v2.15.11
npm ERR! path /home/pi/pimatic/node_modules/node-red-dashboard/node_modules/serve-static/node_modules/send/node_modules/debug/src/debug.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall utime
npm ERR! enoent ENOENT: no such file or directory, utime '/home/pi/pimatic/node_modules/node-red-dashboard/node_modules/serve-static/node_modules/send/node_modules/debug/src/debug.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not...
How can plugins be installed on pimatic-node-red?
Hello,
Is it possible to add support to set variables from node red to pimatic? Or is that possible in a way already?
thanks
Hi,
it would be nice if you can add authentication to the node-red ui. Maybe it's possible to use the pimatic users directly for that.
How can I see the messages I want to display with the node.log function, in pimatic?
They are in the log file but don't appear in the messages section. There is no pimatic-node-red selection available in the drop down box
This is what the log file looks like:
31 Dec 10:31:37 - [info] [function:Light states] hal: Timeout, lights off
Current version in use by this module is 0.14.6 last available release is 0.16.3
Hello,
I need your support again. I'm not sure if it is caused by node-red or the MySensors plugin but the last couple of days I have some issues with the device out node.
Sometimes (yes, not always) when setting a device out node to a value (with parameter), the value isn't set in the actual device. The device stays the same value on the front-end. This used to work fine before.
What can I do to provide some useful debug info?
When you click on the link in the node-red-dashboard plugin within Node-RED it tries to open /red/apiui
- apparently, a slash is missing.
Where can I find the allowed actions on devices?
turnOn and turnOff are known but how can I set the presence of a device for example? Is there a list available?
pimatic-node-red interferes with pimatic-johnny-five. The problem is that the the embedded version of node-red contains rpi gpio nodes. These using RPi.GPIO which does not seem to orderly shutdown. This will cause an pimatic-johnny-five initializationerror if pimatic is restarted via pimatic-mobile-frontend. Work-around for the time being is to restart pimatic with the service wrapper.
Possible Solution: Implement a shutdown handler for node-red and implement shutdown as part of node-red-contrib-gpio
Updating node-red in pymatic gives the error
error [pimatic]: Error running "./node_modules/pimatic/ppm.js install [email protected] --unsafe-perm"
Removing the pimatic-node-red folder from the node_modules folder and restarting pimatic does not fix the problem.
First of all thanks for this nice plugin! I’ve started to play with it and I think it could simplify and speed up some rules from pimatic. Would it be possible to have the variable name and a unique topic in each input block? That would improve readability and creating flows.
Second is how can I send parameters to a device? eg changeDimlevelTo needs a parameter to be included.
As Chris requests below. Have the option to change the port in pimatic config
would it be possible to set the port in the settings of the plugins?
i always can’t start pimatic after install/update pimatic-node-red, because i have to change the port manually…
Mit freundlichen Grüßen
Chris
Currently, the device node tries to read msg.parameter
if the Parameter field is left empty. In my opinion, the node should (also) support to use msg.payload
instead as otherwise a transformation must be added each time when the device is used as part of a flow chain with other nodes, e.g. dashboard UI items:
Suggested alternatives for fixture:
For the latter I have drafted an implementation which perhaps is not yet perfect as I am still a beginner with the node-red API. I can push it to a seperate branch if you wish to review. See: mwittig@e05701b
When injecting a message in a variable in node, all info from the original message gets lost on the output. Would it be possible to maintain this info in the output message?
Hi,
I get an assertion error when setting a dummy presence device to false. When setting it again to false I don't get the error.
The error is
"AssertionError: state is 'event' or state is true or state is false"
Node device out cannot yet execute actions that require a parameter. eg changeDimlevelTo is not supported.
Hi,
after installing pimatic-node-red the webserver under <pimatic-ip>:8000/red
is not working and i get this error message: Cannot find module 'i18next-client'
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.