don’t worry.
But I guess it’s working now?
-
[solved]Wanted Howto see pimatic version in gui
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
@leader21 Just about…
For future references it would be handy to maybe create a single how-to post and stick it to the top of this conversation?? It’s kinda easy to miss things when they are spread along a post! (just my 50C)
-
Yes you are absolutely right! Was thinking about that too but haven’t done it till now. Will do so to get things straight.
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
@leader21 Well, maybe a new forum sub-category was born this way, an “Examples” category??
-
having it here
https://forum.pimatic.org/category/10/howto-devicespimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
@Stokstaart said:
For future references it would be handy to maybe create a single how-to post and stick it to the top of this conversation
Here you go
https://forum.pimatic.org/topic/1502/update-notification-and-changelog-for-pimatic-and-homeduinoeverything fully explained
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
@leader21
many thanks for your Update and Notification Tutorial. It’s verry good. But I have one thing from what I think you have to add because Linux noobs can get in trouble.
You have to make the bash skript exucable:chmod +x homeduino-online-installer.sh
Then I have become a few errors because my pimatic-app folder is not /home/pi/pimatic-app/ but in /home/pimatic-app/.
I don’t know why this is so… I have changed it in the config but I have always two errors:error [pimatic]: rule homeduino-changelog-request error executing an action: Command failed: error { defaultMessage: 'Gateway Timeout', message: '504: Gateway Timeout', code: '504' } stack 504: Gateway Timeout at ClientRequest.<anonymous> (/usr/local/lib/node_modules/github-changes/node_modules/github/index.js:779:26) at ClientRequest.EventEmitter.emit (events.js:92:17) at Socket.emitTimeout (http.js:1797:10) at Socket.g (events.js:180:16) at Socket.EventEmitter.emit (events.js:117:20) at Socket._onTimeout (net.js:327:8) at Timer.unrefTimeout [as ontimeout] (timers.js:412:13)
- In the windows where the pimatic and homeduino changelog should stand cames only an error:
Pimatic Cangelog Not Found The requested URL /files/home/pi/pimatic-changelog.log was not found on this server.
-
Thx for the information . I will add this!
The gateway timeout is due too the limited api requests at github. See above, there is an explanation. After An hour the limit will be resetted.The 2nd issue seems to be a path error or a spelling issue at a rule due to cangelog does not exist, an h is missing. Could be that the logfile cannot be created since the path directory does not exist.
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
Thanks for your Answer.
I found the 2th issue, my Pimatic runs on Port 8080
Now all works fine.
-
nice to hear!
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
Hey guys,
I have followed the awesome tutorial and it works almost perfectly.
Here is what I found: the error message
Error: API rate limit exceeded for
came almost instantly, but it’s gone now.The
curl
forpimatic-version-git
andhomeduino-version-git
didn’t work:
curl -s https://github.com/pimatic/pimatic/blob/master/package.json | grep version | grep span | awk -F\\> {'print $11'} | awk -F\\< {'print $1'}\n
resulted in
-bash: {print $11}: Keine Berechtigung -bash: {print $1}n: Datei oder Verzeichnis nicht gefunden
I have replaced the command with the following, since we are using node anyway:
node -pe 'JSON.parse(process.argv[1]).version' "$(curl -s https://raw.githubusercontent.com/pimatic/pimatic/master/package.json)"\n
The only thing I can’t get to work is the iframes. When I add the devices in the GUI, simply nothing happens and this is in the logs:
2016-06-06 19:55:06error [pimatic-mobile-frontend]: Client error: Cannot read property 'length' of undefined
Does anybody else had problems with the iframe devices?
pimatic 0.8.107
pimatic-homeduino: 08.83Cheers,
Dominik -
did you install the filevrowser plugin?
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
Yes, it’s installed and I can see the information when I access them directly from the browser.
I have cleaned up the groups and pages configuration and re-added the devices with the GUI and it seems to be working now, aside from (yet again) that
API rate limit
message.Thanks for your work, much appreciated
-
You’re welcome!
This app limit sucks It usually only occurs when starting pimatic too often (eg. after some changes or updates).
But the error will disappear after an hour since the limit will be resetted then.pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
New attributeAcronym ShellSensor device option is available if you want to put a V before your version number.
"attributeAcronym": "V",
-
Hello,
I changed my gui today.
But now have a few questions-
how do I get as in the picture the current system time and date?
(https://usercontent.pimatic.org/827222b73c2ed8e88d81690b55bbbbb830ad6916/687474703a2f2f7777772e796f7573637265656e2e64652f7177777a756c75716637332e6a7067) -
in my picture you can see the homeduino “UPDATE TO v0.8.85” update but it is 0.9.11 installed what I have done wrong now?
-
he does not show me pimatic version
(http://img218.imagevenue.com/img.php?image=854368882_pima_122_804lo.jpg) -
at the pimatic changelog is nothing synonymous, under this path “home / pi / pimatic-changelog.log” is also no file see picture
(http://img219.imagevenue.com/img.php?image=854369469_poima2_122_902lo.jpg)
Thx
-
-
ok, i had to rework this.
so to answer the questions regarding the update info first :2.) please change the then part of the rule
homeduino changelog request
as follows
execute "sudo github-changes -o pimatic -r pimatic-homeduino -b v0.9.x -f /home/pi/CHANGELOG-HOMEDUINO.md && head -23 /home/pi/CHANGELOG-HOMEDUINO.md | tail -20 | awk '-F)' \{'print \$2'\} | sed 's/(//g' > /home/pi/homeduino-changelog.log"
3.) check the spellings in the Pimatic-Version shell sensor
command:cat /home/pi/pimatic/node_modules/pimatic-app/package.json |grep version\": |awk {'print $2'}|sed 's/,//g' |sed 's/"//g'
4.) pls. check the spellings and create the logfile with
touch pimatic-changelog.log
ANOTHER thing to be changed is the homeduino-verson-git shellsensor device.
this device is checking the github v0.9 tree for the actual version of the homeduino plugin.
command :curl -s https://github.com/pimatic/pimatic-homeduino/blob/v0.9.x/package.json | grep version | grep span | awk -F\> {'print $11'} | awk -F\< {'print $1'}
all codework has been cheanged on pastebin too. so if you need a summary check here http://pastebin.com/Z8TjfcvD
1.) there are different possibilities. the easiest one is to create a shell sensor with a date command
check here https://forum.pimatic.org/topic/642/date-time-devicethe date device shown in the picture is created by a shell sensor which calls a python device.
here’s the code#!/usr/bin/env python # import time module import time import locale # set language locale.setlocale(locale.LC_ALL, 'de_DE.utf8') #locale.setlocale (locale.LC_ALL, 'de_DE') # print current date and time print(time.strftime("%A %d.%m.%Y - %H:%M Uhr"))
save this as date.py and call it every minute via shell sensor
{ "id": "datetime", "name": "Datum und Uhrzeit", "class": "ShellSensor", "attributeName": "time", "attributeType": "string", "attributeUnit": "", "command": "sudo python /home/pi/date.py", "interval": 60000 },
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
thanks all done !
its perfekt -
Hello everybody,
has something changed on the server?
He always shows me an older version of the homeduino version. (see the screenshot)Have checked the rules and the log file times empty, but he always pulls the wrong display.
-
Hi,
i have the same.Pimatic, my hobby.