Frequently asked questions

 FAQ

1) Installation

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

First off: install everything like usual, follow our instructions on the download page.
Then come back to this topic to make the required changes.

The issue:
Since DSM 6, Synology is having 2 different versions of PHP running at the same time.
A very small one, and a normal one.
PulseStation needs the normal one.

To fix this, we will rename the small one and make a shortcut from the big one to the small one.
This will make your entire system use the proper normal php version.

Just 2 lines to fix this:

Open ssh terminal and execute following commands:

sudo mv /usr/bin/php /usr/bin/phpORIG
sudo ln -s /usr/local/bin/php56 /usr/bin/php

Now execute the command:
php -m
And verify whether ‘mysql’ is in the list.

If it’s not, try following commands:
sudo mv /usr/bin/php /usr/bin/phpORIG
sudo ln -s /volume1/@appstore/PHP5.6/usr/local/bin/php56 /usr/local/bin/php

Now execute the command:
php -m
And verify whether ‘mysql’ is in the list.

Or:
sudo mv /usr/local/bin/php /usr/local/bin/phpORIG
sudo ln -s /usr/local/bin/php56 /usr/local/bin/php

Now all services will use the proper php version and for instance the connection to the database will work again.

Symptoms we had before we fixed this:
– No connection to the database (or only partially)
– Virtual devices were not updating

Par défaut, PulseStation va installer les drivers nécessaire à la reconnaissance de votre clé. La question qu’il faut alors se poser est “Sur quel port est connecté ma clé ?”. Il est important de référencer le bon port afin que le service en question puisse fonctionner correctement.

1) Vérifier si SSH est activé dans le panneau de configuration de votre NAS. Pour Raspberry Pi, c’est activé par défaut.

2) Débrancher la clé USB et redémarrer votre NAS

3) Brancher la clé USB

4) Connecter vous en ssh à votre serveur : Raspberry pi: ssh pi@ITS_IP NAS / Linux: ssh root@ITS_IP Et ensuite votre mot de passe.

5) Exécuter la commande suivante : dmesg | grep tty

6) Vérifier si vous avzez une ligne du style : “usb 1-1.3: cp210x converter now attached to ttyUSB0”. Le “ttyUSB0” or “ttyACM0” est le port sur lequel la clé est attachée. Dans PulseStation, installer le service zwave à partir de la boutique de plugins et aller ensuite dans le service Zwave.

Dans le champs “serial port”, vous devez spécifier le port USB de la clé (voir ci-dessus). Note: Vous devez préfixer le port par “/dev/” Eg: /dev/ttyACM0 or /dev/ttyUSB0 Cliquer en dehors du champs, le système vous demandera si vous souhaitez redémarrer le service Zwave. Cliquer sur OK.

Suivant le nombres de périphériques, la librairie OpenZwave prend un certain temps pour tout configurer. Vous pouvez rafraichir la page, vous verrez alors l’ensemble de vos périphériques zwave reconnus. Le bouton edit vous permet d’éditer vos périphériques.

PulseStation is only working on DSM 5 or newer.

1) Placer le niveau des paquets à “Tout le monde” (Any Publisher) dans Package Center

2) Ajouter le repo https://www.pulse-station.com/repo/

3) Installer le paquet MariaDB (si pas installé) et Webstation

4) Installer PulseStation qui se trouve sous “Communauté”.
Ne demarre pas ce pacquet, c’est mieux de commencer le core via:

5) Vous pouvez à présent utiliser PulseStation:
Front-end: http://IP-OF-YOUR-SYNOLOGY/PulseStation/
Admin: http://IP-OF-YOUR-SYNOLOGY/PulseStation/administration/

L’utilsateur par défaut est :
Login: admin
Mot de passe: admin

N’oubliez pas de modifier le mot de passe dans le menu “Users”.

Note: if you cannot access PulseStation now, it could be your router is blocking it.
You can try adding an extra http port in your synology configration: webservices / tick the box to add an extra http port and add a new port, eg: 5020.
Don’t forget to open this port then as well in your synology firewall and router.
The new url would then be: http://IP-OF-YOUR-SYNOLOGY:5020/PulseStation/administration/

Attention:

  • Are you on DSM 6?
    You may need to perform these DSM6 actions in order for the database to work (needed to write data correctly).

  • The service will pretend it’s not running inside DSM administration center, but it is always running in the background, no need to start/stop the package.
    If you really want to stop it, stop the core service inside PulseStation.

To install PulseStation on Ubuntu, first open a terminal window or login via ssh.

Execute following commands:

1) wget https://pulse-station.com/app/rpi-install.sh
2) sudo chmod +x rpi-install.sh
3) sudo ./rpi-install.sh
4) sudo cd /var/www/html/
5) sudo mv PulseStation* /var/www
6) sudo service PulseStation start

You can now open PulseStation in your browser:

Front-end: http://IP-OF-YOUR-DEVICE/PulseStation/
Admin: http://IP-OF-YOUR-DEVICE/PulseStation/administration/

You can find the IP  by entering the command “ifconfig” or by looking in the router logs or by just trying.
Usually it’s something like: 192.168.1.x
Replace x with numbers ranging from to up till about 15.

You can now login with following credentials:
Login: admin
Password: admin

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

Inside Synology package center, we cannot always retreive the status of our own service.
This is due to a limitation inside Synology.

This means PulseStation could actually be running, but you just don’t know it.

Try visiting the PulseStation url
http://your-synology-ip/PulseStation/administration
And then check after logging in whether in the left menu under services the “Core” service is running.

If it is, everything is fine and PulseStation is running for you in the background.
You can ignore the status in the Package Center.

If that doesn’t solve it, please check the other FAQ messages in order to debug the cause.

PulseStation génère un fichier de log après l’installation.

Le fichier de log se trouve ici : /var/packages/PulseStation/target/log/install.log

DiskStation> more /var/packages/PulseStation/target/log/install.log
05/06/15-11:02:13 Installation started
05/06/15-11:02:17 PulseStation’s web interface installed.
05/06/15-11:02:17 Default PulseStation’s services installed.
05/06/15-11:02:18 Configuration done.
05/06/15-11:02:19 Drivers installed.
05/06/15-11:02:19 Drivers loaded.
05/06/15-11:02:19 Installation successfull.

Récemment il y a eu une nouvelle release du DSM (5.2)

Si vous utilisez le service Zwave/EnOcean, vous devez procéder à la réinstallation de PulseStation.

Pourquoi ?

PulseStation installe des drivers qui ne sont pas pris en compte lors de la mise à jour DSM. D’où la nécessité de réinstaller.

DSM 5.2 ?

PulseStation est théoriquement compatible avec DSM 5.2.
Si vous avez des problèmes, vous pouvez consulter le log installation ou nous contacter à info [at] pulse-station.com

Note : Vous pouvez utiliser le service “Backup” pour restorer vos données après la réinstallation.

1) Insert the SD card into your computer.

2) 
Mac: Download and install “ApplePi-Baker
Windows: Download and install “Win32DiskImager

3) Download a Raspbian Image Raspberry Download
Or even easier: Install Raspbian system on your RPi by using NOOBS as the instructions in https://www.raspberrypi.org/help/noobs-setup/ says. It is more convenient to use the NOOBS method, instead to use directly the Raspbian image, in order to take advantage of all the uSD capacity without any tweak.

4) Open the downloaded software, select the correct device of the SD card (make certain you select the correct one, otherwise you could lose data on your computer!),
then select the downloaded Raspbian image.

5) After the image has been burned to the SD card, safely remove it from your computer and insert it in the Raspberry Pi.
Power it on and wait till it’s booted.

6) From a terminal (first time, since maybe you don’t know the assigned IP, I recommend to access directly with a monitor and a keyboard/mouse), execute the following:

sudo apt-get update && sudo apt-get upgrade
sudo wget -O - https://pulse-station.com/app/raspbian-install.sh | sudo bash

Note: if you get error’s, just run the script a few times until you get the success message.
If you get stuck on the input screen of phpmyadmin (database configuration), then you can just manually restart the configuration by using following command:

sudo dpkg --configure -a

8) You can now open PulseStation in your browser:

Front-end: http://IP-OF-YOUR-RASPBERRY-PI/PulseStation/
Admin: http://IP-OF-YOUR-RASPBERRY-PI/PulseStation/administration/

You can find the IP in the router logs or by using the command ifconfig from a terminal in the RPi.
Usually it’s something like: 192.168.1.x
Replace x with numbers ranging from to up till about 15.

You can now login with following credentials:
Login: admin
Password: admin

2) Administration

Maintenant que PulseStation est actif, vous souhaiterez surement lui ajouter des fonctionnalités supplémentaires.

Logger vous dans le panneau d’administration (http://IP/PulseStation/administration/) et utiliser l’utilisateur standard “admin/admin” et aller sur l’onglet “Boutique”.

Dans la boutique, sélectionner les services que vous souhaitez utiliser
Eg: Zwave, EnOcean, …

Après l’installation des services, vous pouvez les configurer sous le menu “Services”.
S’il y a une propriété “Serial Port”, vous devez référencer le bon port.
Pour cela, veuillez consulter la question “Comment savoir si ma clé USB est détectée”.

Dans la boutique de plugins vous trouverez le service Pushover.

Après l’avoir installé, sous services vous aurez une nouvelle ligne “Pushover”.

Cliquez sur le lien est ensuite sur “Ajouter : Pushover Application”.

Une l’ajout effectué vous aurez la possibilité d’éditer la ligne. Aller sous le tab “Propriétés”.

Compléter les informations relatives à Pushover. Vous les trouverez à l’adresse suivante : Pushover.net.

Vous devrez créer un compte et ajouter une application.

Sur le site de pushover.net : Ajouter une application et remplissez les informations suviantes :

Name: PulseStation
Type: website
Description: Home automation
Url: https://www.pulse-station.com
Cocher la box et créer l’applciation.

Vous aurez ensuite accès à votre token.
Dans PulseStation, remplisser les informations et cliquer sur “OK”.
Vous pourrez ensuite utiliser les notifications dans vos scènes.

We always recommend adding a Network Key to your z-wave configuration.
This will encrypt communication between your devices with this key and makes your network more secure.
More recent devices even require you to put a Network Key.

It could also fix issues if your zwave service stops you have this kind of error: “Invalid Network Key”.

You can set-up the network key in:
PulseStation > Administration > Services > Zwave

Example Network Key:
0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x06, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10

We however recommend changing this key, so it cannot be guessed.
Reorder things between the , characters, eg:
0x01, 0x02, 0x03, …
Becomes:
0x03, 0x01, 0x02, …

You will have to restart the zwave service after changing this key!

Si vous souhaitez nous aider à traduire PulseStation dans votre propre langue, vous pouvew visiter le site suivant : Translate PulseStation

Rejoignez le groupe et débutez la traduction!

Si vous souhaitez utiliser PulseStation à partir d’une application mobile, nous vous recommandons Imperihome. main-screens

1) Aller sur la boutique de plugins dans le panneau d’administration de PulseStation et installer le service Imperihome.

2) Une fois installé, installer l’application Imperihome pour votre mobile. Note: Une version iOS est en cours de développement…

3) Dans Imperihome, aller dans les paramètres, ouvrir “My systems”, et taper sur “Add a new system”, sélectionner “Imperihome Standard System”. Remplissez l’url suivante : http://IP:4070 (remplacer IP par l’ip de votre serveur PulseStation).

4) Appuyer sur “Next” et vérifier si le système est bien détecté. Si ce n’est pas le cas : ouvrir le TCP port 4070 de votre firewall. Vous pouvez controler PulseStation par l’intermédiaire d’Imperihome.

3) Front-end (Dashboard)

Vous pouvez accéder au dashboard via l’url suivante :
http://IP/PulseStation/

Vous pouvez interagir avec les périphériques par l’intermédiaires des panneaux proposés.

PulseStation_-_User_Interface

Si vous avez déterminer une pièces pour certains périphériques, vous pouvez utiliser le menu “Pièces” afin de n’afficher que les périphériques faisant parti de cette pièce.
Par défaut, tous les périphériques de toutes les pièces sont affichés.

Vous pouvez créer des panneaux spécifiques.
Ci-dessous un exemple de panneau 4Digits pour armer/désarmer votre alarme.
Et un panneau pour le périphérique Yahoo Weather.

PulseStation_alarm_meteo

 

4) Scène Blockly avancées (+ exemples)

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

First a warning: you cannot reuse a Zipato keypad that has been included before in a different gateway/system, unless you excluded it before.
So if your usb key ever crashes or gets lost, you cannot reuse the keypad and you will have to buy a new device.
This is done on purpose to prevent your device from being included in a different system and hacking your home security this way.

After you include the keypad, you can start learning your tags.

  1. Press the home button and wait for 2 seconds until the red light stays on
  2. Touch the keypad with your new rfid tag
  3. Now in the logs the code of this rfid tag will be visible, eg: 
    2016-04-24 12:03:55.421 Info, Node019, ApplicationCommandHandler – Unhandled Command Class 0x63
    2016-04-24 12:03:55.438 Detail, Node019, Received: 0x01, 0x07, 0x00, 0x03, 0x00, 0x13, 0x02, 0x83, 0x07, 0x61
  4. The code of your keytag is marked in bold above. You need to remove the comma’s between it, eg: 0x01 0x07 0x00 0x03 0x00 0x13 0x02 0x83 0x07 0x61
  5. Now add this code under services/zwave/select your keypad, edit icon / properties and enter the code above inside the field called “Code 1:”
  6. Press OK
  7. Wake up the keypad by pressing the home button, but doing nothing else.
  8. Wait 3 minutes and wake up the keypad again by pressing the home button. By now he should have learned this new code.

Now you can use this in your blocky scenes.
Eg: in the code below, my tagreader is zwave-19.
In your case this will be a different number.
In my case TAG_1 is my first tag, code 1, allowing me to turn off the alarm:

Zipato_keypad_mini_tagreader_rfid

If inside the parameters section of your device there is no option to change from Farenheit to Celcius, then your device is a US device and does not support it.
Either bring it back to the store and complain there, or fix it in a hacky way:

1) Create a virtual value device, eg: celcius
2) Create a blocky rule that looks like:

farenheit2celcius

The top line puts the farenheit in a parameter,
the middle converts it to celcius and puts it in a variable “item” and
the bottom one puts the celcius in a virtual value, so it can be displayed and easily reused.

You can also choose to keep it as a variable if you only need it in blocky.

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

Hereby an example that explains how you can trigger blocky rules only when the current date is between 2 days:

blockly_date_between

The php code used inside the block, so you can copy paste it:

$startTime = strtotime($startdate);
$endTime = strtotime($enddate);
$startFormat = date('Y-m-d',$startTime);
$endFormat=date('Y-m-d', $endTime);
if(date('Y-m-d') >= $startFormat && date('Y-m-d') < = $endFormat){
	$datebetween=true;
}else{
	$datebetween=false;
}

If you want to do it between 2 timestamps instead,
there is inside blocky under "Utils" the option "Time =".
If you click on the = sign you can change it to "between".
This allows you to put "Time between".

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

Issue: you want to change a parameter of a device, but it’s not inside the dropdown of the standard Blocky block of that device.

Solution:
Go to the parameters o
First, modify the property via the zwave service and see what happens in the log of the core service.
You should see something like this :
2015-11-16 06:10:12.650 Message In Core : 1|HUB|zwave|UPDATEPROPERTY|zwave-2|37-user-bool-1-0|true
2015-11-16 06:10:12.917 Forwarding message : 1|HUB|zwave|UPDATEPROPERTY|zwave-2|37-user-bool-1-0|true
2015-11-16 06:10:14.961 Message Finished, remove it from the stack (0|HUB|HUB|AUTORESTART)
2015-11-16 06:10:15.043 zwave : Message received – 1|HUB|zwave|UPDATEPROPERTY|zwave-2|37-user-bool-1-0|true|1447650614624|447409f9bfb16fc245d3496fef722b73
2015-11-16 06:10:15.131 Message Finished, remove it from the stack (1|HUB|zwave|UPDATEPROPERTY|zwave-2|37-user-bool-1-0|true)

Then, go to your blockly scene and add a php block with the following code :
//instructions: setValue(“THE SERVICE”,”THE DEVICE ID”,”THE PROPERTY ID”,”THE VALUE”);
setValue(“zwave”,”zwave-2″,”37-user-bool-1-0″,”true”);

So put in the parameters you see in the core log.
This allows you to change any parameter via blocky.

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

A variable by default is reset every time a scene is run.

That’s why most users use virtual devices to keep the status of a variable for now.

If you however want to keep a certain value, you can also write it into a file.
This then allows you to read the content of this file, the next time you execute the scene and continue from there.

You can do this in 2 simple blocks.
You use the custom PHP block for this inside blocky.

Step 1: you write the value you want to save to a file.
$file = ‘VariableName.txt’;
$current = file_get_contents($file);
$current = “Put your content here“;
file_put_contents($file, $current);

Step 2: you read the file and put this value back into your variable.
You do this when you need to retreive the value of your variable.
$file = file_get_contents(‘VariableName.txt’, FILE_USE_INCLUDE_PATH);

You can now use the real variables system (eg: create a variable named “file” in this case) to put the variable block inside IF statements.
It looks something like:
IF file = TEXT 123

You can use the php function addlog($file); in step 2 to debug the scene.
It will write the contents to your scenes log file.

Dans le panneau d’administration de PulseStation vous avez le menu “Blockly”.

Si vous cliquez dessus vous aurez un espace de travail avec sur la gauche l’ensemble des blocks disponibles.
Vous pouvez créer vos scènes par simple drag&drop.

En général une scène Blockly contient un block “IF-DO” (vous le retrouvez sous “Control”).

Essayer de créer une simple scène :

IF the time is 17:00
DO turn the light on

Sous “Control”, prenez le block IF-DO.
Sous “Util”, prener le block “Time 0 : 0”, mettez le à côté du “IF”, de manière à ce que les blocks soient collés. Maintenant modifié la date à “17:00”.
Sous “Zwave”, sélectionnez le block “bleu”, et mettez le sous le “DO”.
Sélectionner le périphérique dans la liste déroulante et mettez la propriété “switch” à True.
Sauvez et donnez un nom.

Note: Si vous ne voyez pas le tab “Zwave”, cela signifie que vous n’avez pas de péripéhriques zwave. Sélectionner un autre type pour tester.

J’ai créé un système d’alarme basique.

Le but : M’informer si des voleurs sont entrés chez moi + ouvrir les lumières.
PulseStation_-_Alarm

Lorsque le périphérique “4Digits” est armé et qu’il y a détection, m’envoyer une notification Pushover et allumer les lumières.

Note: Vous pouvez également déclencher votre sirène ou démarrer l’enregistrement des caméras. Vous pouvez aussi choisir une notification par sms grâce au périphérique Google SMS.

Ci-dessous vous trouverez une exemple permettant de controler automatiquement les lumières.
J’ai un détecteur de mouvement et un Fibaro Wall Plug (vous pouvez les retrouver sur notre boutique).

L’idée principal : Si il fait sombre et qu’il y a détection, je souhaite allumer les lumières pendant 20minutes.
Si durant ces 20minutes il y encore une détection, le timer est réinitialisé pour 20minutes.

Règle additionelle : Si il est plus de minuit, je ne souhaite allumer les lumières que 3 minutes.

PulseStation_-Blocky-motion

 

Premièrement je vérifier si le soleil est couché (pas besoin d’allumer les lumières en journée).
Pour cela, j’utilise le périphérique “Yahoo Weather” et les propriétés “sunset” et “sunrise”.
Si le soleil est couché (sunset):
1) J’allume les lumières
2) Je détermine un “timer” afin d’éteindre les lumière après un certain temps.

J’ai ajouté une seconde condition afin de limiter la durée si nous sommes entre minuit et 06h du matin.

Note: J’ai ajouté une vérification afin de ne pas allumer les lumières si elles sont déjà ouvertes. Il s’agit la d’une vérification afin d’optimiser la scène.

Par défaut, les scènes sont vérifiées toutes les minutes et exécutées si les conditions sont remplies.
Dans certains cas, vous souhaiterez éventuellement exécuter la scène manuellement ( eg : En pressant le bouton “Run” sur le dashboard).

Vous pouvez le faire en ajoutant le block “Run Scene Manually” dans votre scène.
Peut importe l’endroit où se trouve le block.
A partir de ce moment là, la scène sera exécutée uniquement sur demande.

5) Store

Désolé, cet article est seulement disponible en Anglais Américain et Néerlandais. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans la langue par défaut du site. Vous pouvez cliquer l’un des liens pour changer la langue du site en une autre langue disponible.

PulseStation domotica software is free, no monthly costs!

Prices on our website include VAT! No surprises when you are at the checkout!

Lowest Price Guarantee: If you currently find the same * product for sale at a lower price from another distributor in Europe, we will offer you the product at the same price.

The supplier must have the product in stock without any additional conditions (eg minimum purchase volume, mandatory membership, price increase for credit card payments, etc. .. ). Furthermore, we will not compete with obscure Asian websites where the customer is not sure whether the goods will be actually delivered and where the transport and customs clearance fees, import duties and VAT are included or not. Often, the customer only discovers these practices upon delievery.

* The same product : ie complete same version, same plug, same technical specifications, manuals, etc … !
Lowest Price Guarantee can not be combined with any other discount or gift certificate.
The lowest price guarantee does not apply to temporary promotions or end of range offers!

If shipping costs are charged; these will also be included in the total price calculation.

Contact us and answer following questions:

Name
E-mail
Telephone
Productname
Link to website where product is offered at lower price
Price on this website (incl. shippping costs)
Price which you are willing to pay

Pulse-Station a le droit de changer le prix des articles dans le store.
Dans le cas out nous perdons de l’argent a votre commende, nous pouvons canceller votre commande.

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

New items purchased from Pulse-Station.com that are “dead on arrival”, arrived in damaged condition, or is still in an unopened box can be returned for a full refund within 30 days of purchase.
Refunds will be issued in the same method of payment as the original payment.

Please contact us first before shipping items back. This will allow us to give you the correct address and maybe even solve your issue remotely.

Pulse-Station.com will test “dead on arrival” returns and impose a customer fee equal to 15 percent of the product sales price if the customer misrepresents the condition of the product.
Any returned item that is damaged through customer misuse, is missing parts, or is in unsellable condition due to customer tampering may result in the customer being charged a higher restocking fee based on the condition of the product.

If the order is valued at €100 or more, insure the shipment for the value of the merchandise and ship your return with a signature shipping service.
If a package doesn’t arrive and you don’t use a trackable method to return or if you refuse the shipment as a method of return, we may not be able to cover you.

When a promotional item included in the original transaction is not returned, the value of the promotional item will be deducted from the refund amount.

Please note delivery fees are not refundable once the order has shipped or if the merchandise is returned to the store, discount coupons may become invalid and decrease the refund amount.

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

We ship all items using http://www.postnl.be/be/parcels, using tracking.

You can follow the shipment of your order on their website with the tracking code we provided you a few days after payment has been received for your order.

6) Further hacks

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

You can also trigger devices and scenes by just calling a url.
Eg: use NFC retag on Android to trigger a Tasker task that calls a url to toggle a light on and off.

For Z-wave devices: http://your.local.ip.x:4020/message=1|HUB|zwave|UPDATEPROPERTY|zwave-4|37-user-bool-1-0|true
For Scenes: http://your.local.ip.x:4020/message=1|HUB|scene|RUN|Toggle-lights.xml
But you can control anything:
just run a command manually from within the front-end dashboard, look inside the Core service log file and there you can find what to put behind the message= field.

In order to control devices remotely, not from within you local network, you will need to provide the username and password.
Eg:
http://your.external.ip.x:4020/username/password/message=1|HUB|zwave|UPDATEPROPERTY|zwave-4|37-user-bool-1-0|true
Note: replace username and password with the actual user login and password.
We recommend creating a new user that has limited access rights if you use external calls with the password in the url.

You can use a floor plan of your house and drag&drop elements on top of it. This allows you to create a beautiful home design.

To make this floor plan, we ourselves use following software: http://www.sweethome3d.com/

If you after installing it google for sweethome3d furniture library, you get a wide choice of ready made additional items that you could add inside your house.

Once you have your floor plan ready, you can install the “floor plan “add-on from the store, go into “Dashboard” and start adding your floor.

Don’t forget to assign locations to your floor and press save after every step. Enjoy!

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

Inside the Fibaro RGBW device, you have a parameter called “Starting predefined program”.

It allows you to trigger certain scenario’s, by changing the value:
6 = Fireplace
7 = Storm
8 = Rainbow
9 = Aurora
10 = LPD => Police lights, to signal an alarm state

You can start them by setting a value from  6 to 10 and
stop them with setting it back to 1 or change the color index.

 

By default with Imperihome, the screen will stay on during the night.
This is not ideal for your screen.

We have found a solution to this.
The camera will keep on working even when the device is in standby (screen off).

Using built-in camera

  1. Download Motion Detector.
  2. Download Tasker.
  3. Download AutoStart
  4. Launch Tasker app and tap the three dots in the top right corner.
  5. Tap PreferencesUI (at the top), uncheck Beginner Mode.
  6. Exit out of that, and tap the Vars tab at the top.
  7. Tap + and name it %DISPLAYSTATE.
  8. Go to the Profiles tab, and tap + → select EventDisplayDisplay On.
  9. Tap Back key/button. Tap New Task, name it Display On.
  10. Tap +VariablesVariable Set. Tap the pencil icon next to Name.
  11. Tap %DISPLAYSTATE and where it says To, make it 1.
  12. Repeat “step 8 to 11”, but change everything to Display Off and change step 11 from 1 to 0.
  13. Go to the Scenes tab at the top.
  14. Tap + and name it something.
  15. Hold down and drag on the dashed line and make it the size of your screen.
  16. Tap the gear icon in the upper left corner to go back.
  17. Tap on Profiles, and create a new one by using the + button.
  18. Tap on EventSystemIntent Received.
  19. You can ignore everything except where it says Action. Here you need to enter org.motion.detector.ACTION_GLOBAL_BROADCAST (caps are important).
  20. Tap the gear icon (back) in the top left corner. It will pop up with a menu.
  21. Tap New task and name it something.
  22. Within that task, tap the + again and hit SceneShow Scene.
  23. Where it says Name, tap the magnifying glass icon (not the pencil) and tap on your scenes name.
  24. Now where it says Display As,  set it to: “Activity, Full Display, No Bar”.
  25. Scroll to the bottom and it will say if. Tap the pencil icon and select %DISPLAYSTATE.
  26. Tap the button in the middle and change it to Equals. On the right box, type 0.
  27. Tap + and do TaskWait.
  28. Change MS to somewhere between 25 to 100.
  29. Tap +SceneDestroy Scene and hit the magnifying glass icon on Name. Select your scene.
  30. Now go back to the main screen of Tasker app.
  31. Go into the Motion Detector app, and make sure it is turned off. If not, tap the blue circle.
  32. Go to the bottom and where it says Send, make sure it is On.
  33. Go back to the top and tap the blue circle again to make it turn on.
  34. Open Auto Start and make sure it says On.
  35. Tap AddShow all applicationsMotion Detector.
  36. Check “go to home screen after auto start” and change “start delay” to 5.

Also, do note that in Motion Detector there are settings you can change when Motion Detector is off.
One of the most important is Camera. If you are experiencing problems, please make sure that Camera is set to Front.

If you now start imperihome, while the motion detector is ‘On’, it will wake up the device to imperihome when motion is detected.
Note: by default it’s not great in the dark.
We recommend following changes:
Noise filter: off,
Try to increase sensor resolution and camera resolution,
If supported increase exposure compensation

On Synology you cannot access the “real” ping command.
That’s why we need to bypass it and add a port.

This also means you have to find an open port on your device.

For Android you can use following app to find “LISTEN” ports, ports on which your device is listening:
https://play.google.com/store/apps/details?id=com.eolwral.osmonitor
The second tab tells you all the open ports.

I found out you can use for instance the skype port, if you have it installed.
The Facebook Messenger port however does not work.

In the end I installed a webserver on my phone that is always listening on port 12345.
https://play.google.com/store/apps/details?id=jp.ubi.common.http.server
NOTE: inside the settings you have to enable the authentication and set up a strong password.
Otherwise users can access the content of your device.
I also recommend to make it start automatically with your device.

So now you can always see whether your device is enabled, or that you are at home if you set it up on your phone.
To add your device, open the service ‘Virtual devices’ (you need to install it first from the Add-ons) and add a ‘ping’ device.
Inside the properties of this device, fill in the IP and port of your device.
Now PulseStation will check every minute whether the device can be reached.
You can use this for instance in your blocky rules.

If you find a good port/webserver for iPhone, let us know in the forum and we will add it here.
There are for sure solutions for iPhone as well.

Note: inside your router you can assign a fixed IP to your device. That way the IP will never change.

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

In certain cases you do not want to enter twice the same scene entirely.
Eg: when you disable the alarm, send a fake device motion event, to turn on the lights.

Step 1:
Trigger a device event

Step 2: look inside the core log file, so see this message.
It looks something like:
scene: Message received – 1|zwave|scene|CHECKSCENESEVENT|zwave-15_ON|1458344682927|494abcd26057a6cf69bb1321913917f8
You take everything in this message, before the starting of the range of numbers:
1|zwave|scene|CHECKSCENESEVENT|zwave-15_ON

Step 3: Add a php block inside your scene, that calls the url to trigger this device event:
file_get_contents(“http://your.local.ip:4020/message=1|zwave|scene|CHECKSCENESEVENT|zwave-15_ON”)

It’s time to take the next step in your home automation:

  • Start coffee machine 5 minutes before alarm goes off in the morning
  • Slowly enable lights in the bedroom and hallway if it’s still dark outside
  • Start heating the house 20 minutes before the alarm goes off
  • Flash a light if I need to go to bed, so you sleep enough

All this is possible thanks to 2 great apps:

  1. Set your alarm ready inside Sleep as Android
  2. Open Tasker app
  3. Under profiles, tap on the + sign bottom right
  4. Select “Event” / “Plugin” / “Sleep” and press the edit icon next to “Configuration”
  5. Now you get a whole list of things you could use as a trigger for actions or scenes inside Pulse-Station.
  6. In this example I will turn off my lights when I start the sleep tracking, so I select “Sleep analysis started”
  7. I tap the top left back < icon
  8. Next up I want to create a new task linked to this event, so that I can actually turn of the light. I select “New Task” and give it a name.
  9. Then I am inside the task edit screen, here I press the bottom + icon to add a new action to it.
  10. I select “Net” / “HTTP Get”
  11. Now we need to enter the command we want to send to Pulse-Station to execute.
  12. This is documented here. But I will just run a scene:
  13. Under Server:Port I enter the ip running Pulse-Station, followed by the port. Eg: 192.168.1.2:4020
  14. Under Path I enter the command to be executed, eg: message=1%7CHUB%7Cscene%7CRUN%7CLights.xml (capital sensitive)
    (The %7C is just a | character that is URL encoded. The actual message I am sending is: message=1|HUB|scene|RUN|Lights.xml )
    Note: you have to create the Blocky rule to turn off  the lights as well. In this case I have to save it as “Lights”

With this combination the sky is the limit. 🙂
Please do not hesitate to ask for help in case you are stuck on our forum.

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

In following file you can search for the name or brand of your Z-wave device to verify whether it’s supported by the official OpenZwave library:

https://github.com/OpenZWave/open-zwave/blob/master/config/manufacturer_specific.xml

If it’s listed, it should be supported and you should be able to control it from within PulseStation.

7) Solving problems

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

Certain battery powered devices cannot immediately be recognized properly.
Symptoms: properties are missing, device is recognized as wrong type, parameters are empty, temperature missing, …

Sample devices having these kind of issues:
Fibaro motion, temperature and light sensor FGMS-001
Fibaro smoke sensor

How to resolve this?

  1. Try pressing the button three times very quickly after eachother, wait 2 minutes and do this again. Do this +/- 5 times.
    This will wake up the device and hopefully make it sync.
  2. Try in administration panel under services / zwave / controller commands to “Clear config files”, then do step 1 after 5 minutes.
  3. Try waiting up to 24 hours for the device to synch itself
  4. If it then still doesn’t work, exclude the device, reset it (see manual of your battery powered device) and then include it again. Then repeat from step 1.

For us this always worked…
Note: if it’s a brand new device that has been launched only recently, maybe it’s not supported yet. Just ask in the forum.

If one of your scenes, when you open it, is not displayed properly (white, or all elements are floating on top of each other),
then this is usually caused by a device being removed.
As such the block is missing and we cannot display properly your blocks.

If you do not want to redo your entire scene, you can manually repair the xml file.
All your scenes are saved in:
/volume1/web/PulseStation/data/scenes/NameOfYourScene.xml

If for instance you removed zwave device numer 5 (zwave-5), then you need to replace it with either a similar device (eg: zwave-4) or remove the xml blocks concerning this device.

After saving the fixed xml, it will be displayed properly as well.

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

If inside the zwave service no devices are listed after including your first device,
then probably saving these devices in the config files is not working due to problems in the access rights.

Execute following command via ssh on Synology:
sudo chmod 777 -R /volume1/web/PulseStation/data/*

Execute following command via ssh on Raspberry pi:
sudo chmod 777 -R /usr/share/PulseStation/data/*

Then go to Services / Zwave / Controller commands
And click on the button “Clear config files”.
Do not click on the button to reset your usb key (do this only if all else fails).

Now your zwave service restarts and you should start seeing the devices in about 5 to 25 minutes (depending on the amount of devices).
If it doesn’t work, just repeat the steps. This has so far solved the issue for all users with this issue.

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

Inside Synology package center, we cannot always retreive the status of our own service.
This is due to a limitation inside Synology.

This means PulseStation could actually be running, but you just don’t know it.

Try visiting the PulseStation url
http://your-synology-ip/PulseStation/administration
And then check after logging in whether in the left menu under services the “Core” service is running.

If it is, everything is fine and PulseStation is running for you in the background.
You can ignore the status in the Package Center.

If that doesn’t solve it, please check the other FAQ messages in order to debug the cause.

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

If you are running PulseStation on a Raspberry Pi and  notice in the log files that the time is not correct,
it is very likely that you need to set the correct timezone for PHP.

You can do this by executing following commands:

sudo nano /etc/php5/apache2/php.ini

Then add following line (doesn’t matter where, just needs to be on a new line):
date.timezone = "Europe/Brussels"

Replace Europe and Brussels with the region and country that is in your timezone.
You can find the full list here:
http://php.net/manual/en/timezones.php

Then press the keyboard combination: ctrl + x
Then enter “y” and
press enter button.

Now your changes will have been saved and PulseStation logs should start using the correct timezone.

Désolé, cet article est seulement disponible en Anglais Américain et Néerlandais. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans la langue par défaut du site. Vous pouvez cliquer l’un des liens pour changer la langue du site en une autre langue disponible.

Inside the core service there is an option to stop everything.
It’s located in the start/stop dropdown.

In case this doesn’t work and you see some services are still running,
you can always use following command to stop all PulseStation services:

Synology:
ps -ef | grep ‘PulseStation’ | grep -v grep | awk ‘{print $2}’ | xargs sudo kill -9
Raspberry pi:
kill $(ps | grep ‘PulseStation’ | awk ‘{print $1}’)

You will have to execute it using an ssh session on your unix machine (raspberry pi, synology, ubuntu, …).

 

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

This is usually a write issue on a certain file.

This could happen for instance for the service ifttt, yahoo weather, virtual device, …

On Synology, execute following ssh command:
sudo chmod 777 -R /volume1/web/PulseStation/data/*

On Raspberry Pi execute following ssh command:
sudo chmod 777 -R /usr/share/PulseStation/data/*

If it’s the zwave service that is not storing parameters, check the zwave logs instead. This is written to the device, not to PulseStation itself.

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

Sometimes when you reboot your hardware or just start it,
your z-wave USB key is not ready yet to accept your commands when PulseStation tries to connect to it.

This results in PulseStation z-wave service thinking it’s running, but it’s not actually connected to your z-wave usb key.
Inside the Z-wave service log files, you will see messages like:

2016-04-26 08:44:35.644 Warning, WARNING: Out of frame flow! (0x76).Sending NAK.
2016-04-26 08:44:35.644 Warning, WARNING: Out of frame flow! (0x00). Sending NAK.

In this case the solution is usually very simple: just restart the zwave service and everything should start working again.

Désolé, cet article est seulement disponible en Néerlandais. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

Certain roller shutters / blind devices (eg Fibaro) never go to 100.
Their scale is from 0 – 99.
So if you use this in blocky rules, use 99 instead of 100.

If even 99 does not work, check the associations tab of your device.
It should be associated to your zwave-1.

When something is not working as it should inside PulseStation, you can start here.

When is this message useful
– core does not start,
– scene does not run,
– service does not start

This message is not useful when
– You can’t control your z-wave devices => you need to check the logs inside the z-wave service.
If it states something as “Error code 13”, then PulseStation cannot access your usb key.
You need to do a chmod 777 on it.

The explanation

We want to debug PulseStation.
1) Open a ssh terminal
2) You can start it by going into the directory where PulseStation is installed, eg: cd /volume1/web/PulseStation
3) Then start the core service: ./services/core/core
4) The core will start and it will normally start all other services.
Now you can see all details from PulseStation and all error messages will appear here.
Don’t worry if you don’t understand them.
There will be a lot of lines here.
5) If it’s action related, eg running a scene, now is the time to trigger the scene to run.
You will see in the debug terminal what is happening behind the scenes.

Last advice
– Do not put all services on auto-restart: yes.
It will be much easier to find issues when only the service is running that is having an issue (eg: core + scene service)

8) Installation du matériel

Désolé, cet article est seulement disponible en Anglais Américain. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

Installing a Fibaro Relay Switch FGS-212 for use with PulseStation and ImperiHome

 

Many thanks to Coldbringer for this movie!

Un bug? Rapporter le ici!