Comments (6)
I assume this worked for you with a previous version of node.js v4.x, right?
It looks like there is an issue the tls lib of node.js 4.9 which might be related to the dependency updates. See also Changelog. My suggestion is to downgrade Node.js to Version 4.8.7.
I am setting this issue to won't fix as we're planning to migrate to node.js 8 soon.
from pimatic-mail.
Thank you for this quick reaction mwittig.
Indeed this worked for me with the previous version of node.js. I just tried to downgrade to Version 4.8.7 (when I type: "node -v" I get back V4.8.7) but still the same issue. However not sure if I performed the downgrade back correctly.
I think I will try to re-install Pimatic on my Raspberry Pi very soon using node.js V4.8.7 and check again. However not sure when I can do this. When done I will update this thread again.
from pimatic-mail.
I have a simular issue after a fresh Pimatic stretch install with node 4.6.2.
for the phone and pushover plug-in. I don’t use the mail plug-in.
Did a reinstall of Pimatic with node 4.4.5 but error stays. Seems to be related to the new stretch release.
from pimatic-mail.
Good point 'edautz'. I also upgraded Raspbian on my Raspberry Pi in parallel. This could explain why it does not work with older node 4.x anymore as well (I thought that it was perhaps related to an incorrect downgrade by me).
PS: I do not use the Pushover plugin anymore. Instead I use the pushover API directly. See also https://pushover.net/api
Example what you can put in a rule:
curl -s --form-string "token=xyz" --form-string user="abc" --form-string "priority=-1" --form-string "message=my message here" -F "attachment=@/home/pi/pimatic-app/node_modules/pimatic-mobile-frontend/public/photo_front.jpg" https://api.pushover.net/1/messages.json 2> /dev/null
from pimatic-mail.
I know the pushover api. Use it when I program a script in bash.
Is there a special reason way you aren’t using the pushover plug-in?
I am testing the new raspbian stretch version on my staging machine, not on production because I suffer on this machine with rasbian jessie of frequent homeduino time-outs.
That kind of time-outs don’t I see anymore after the stretch update.
from pimatic-mail.
Reason is that there is no need to use the Pushover Plug-In when you can use the API via curl. I prefer to keep the number of Plugins to a minimum.
from pimatic-mail.
Related Issues (6)
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 pimatic-mail.