Software developer. Notes about Jeedom, home network, Xamarin and whatever I need to remember.
Add the Xiaomi Air Purifier 3C in Jeedom
The Xiaomi air purifier is a wifi device and to be able to use it in Jeedom you'll need to extract its token. It's possible to extract the token by using an old version of the Mi-Home app or using various strange manipulations. For me it never worked and by chance I found the Xiaomi Cloud tokens extractor. Before to use it, you need to add your purifier in the Mi-Home app and then you can execute the "token_extractor.exe". ...
Force HTTPS access in Apache
If you configured a certificate to access your Jeedom with HTTPS and you don't want to let the HTTP access available, you can change your Apache settings to redirect HTTP access to the HTTPS automatically. You'll need to ssh on your Jeedom server and edit the following file: nano /etc/apache2/sites-available/000-default.conf The part we want to modify is the virtual host defined for the HTTP port (80) <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/html ErrorLog /var/www/html/log/http.error </VirtualHost> And we'll edit the file to rewrite the HTTP access to the HTTPS access ...
Secure the access to your Jeedom with Certbot
A few days ago, I created a post on how to redirect the HTTPS external traffic to a Jeedom in a private network. Everything will work but you'll see in your browser that the website isn't secure. The reason is that there is no certificate available on your webserver (on your Jeedom). To generate, use and auto renew a certificate we'll use CertBot Certbot is a free, open source software tool for automatically using Let’s Encrypt certificates on manually-administrated websites to enable HTTPS. Certbot is made by the Electronic Frontier Foundation (EFF), a 501(c)3 nonprofit based in San Francisco, CA, that defends digital privacy, free speech, and innovation. ...
Redirect HTTP/HTTPS port to your Jeedom
In the previous blog post we saw how to create a custom domain name to point to our public IP address. The main goal was to be able to access our Jeedom from outside our private network. But if you just type your public IP address or use the new custom domain name to access Jeedom you'll just hit your modem or firewall and they'll not know what do to with the traffic. And you can be sure the traffic will not go to your Jeedom by default. ...
Create a DynHost to access your Jeedom
If you want to access your Jeedom from outside your private network, you can do it using your public IP address or using a custom domain name pointing to your public IP address (if the HTTP or HTTPS port is opened). For me and maybe for you, it's easier to remember a custom domain name and I decided to go with one on OVH. Now that I have my custom domain I would like to use it to access my Jeedom and trust me or not, I didn't know it was so simple. ...