( ! ) Notice: Undefined index: option in /Users/charlesmerlen/Sites/Joomla/components/com_content/views/category/view.html.php on line 264
Call Stack
#TimeMemoryFunctionLocation
10.0002417232{main}( ).../index.php:0
20.07635130448Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.07635130448Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.13558755552Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.14229028704Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.14319043520Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.14339070104require_once( '/Users/charlesmerlen/Sites/Joomla/components/com_content/content.php' ).../ComponentHelper.php:402
80.14659270384ContentController->execute( ).../content.php:43
90.14659270384ContentController->display( ).../BaseController.php:710
100.14669270384ContentController->display( ).../controller.php:118
110.15429867664ContentViewCategory->display( ).../BaseController.php:672
120.199211617944ContentViewCategory->display( ).../view.html.php:250
130.199211617944ContentViewCategory->prepareDocument( ).../CategoryView.php:243

( ! ) Notice: Undefined index: option in /Users/charlesmerlen/Sites/Joomla/components/com_content/views/category/view.html.php on line 269
Call Stack
#TimeMemoryFunctionLocation
10.0002417232{main}( ).../index.php:0
20.07635130448Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.07635130448Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.13558755552Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.14229028704Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.14319043520Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.14339070104require_once( '/Users/charlesmerlen/Sites/Joomla/components/com_content/content.php' ).../ComponentHelper.php:402
80.14659270384ContentController->execute( ).../content.php:43
90.14659270384ContentController->display( ).../BaseController.php:710
100.14669270384ContentController->display( ).../controller.php:118
110.15429867664ContentViewCategory->display( ).../BaseController.php:672
120.199211617944ContentViewCategory->display( ).../view.html.php:250
130.199211617944ContentViewCategory->prepareDocument( ).../CategoryView.php:243

Voici la page des différents sujets de Geekerie sur lequel je travaille, 

 

Ce thème étant assez larger, cela commence par le Photomaton à base de Raspberry Pi, des modules Arduino pour les modules dédies à la Domotique de la Villa Prouvlen, jusqu'aux scripts Shell sur mon serveur Apple  MacPro 

Tasmota est un firmware alternatif pour des objets de l'IOT. 

 

Voici la ligne de commande pour uploader le firmware sur un NodeMCU : 

/Users/charlesmerlen/Library/Arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 /Users/charlesmerlen/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/tools/upload.py --chip esp8266 --port /dev/cu.wchusbserial1410 --baud 115200 erase_flash --before default_reset --after hard_reset write_flash 0x0 /Users/charlesmerlen/Downloads/tasmota.bin 

 

 

MQTT : 

 

  • Installation sur le MacPro de Mosquitto comme broker MQTT (serveur central) 

Chaque Device peut alors lire  ( s'abonner ) ou écrire ( publier )  dans un topic.  Pas besoin de conntaire l'IP du device pour communiquer avec lui. 

 

Doc MQTT de Domoticz : https://www.domoticz.com/wiki/MQTT#Domoticz_MQTT_communication

Plugin MQTT pour Tasmota : https://tasmota.github.io/docs/MQTT/

Doc sur GitHub : https://github.com/jneilliii/OctoPrint-TasmotaMQTT

 

  • Exemple de commande du LSC Smart Control Power Plug / avec firmware TASMOTA

 

Change l'état d'alimentation : 

mosquitto_pub -t cmnd/LSC_Power_Ender3/Power -m "TOGGLE"

 

 

Demande l'état du device

mosquitto_pub -t cmnd/LSC_Power_Ender3/Power -m ""

retour en publication par le device sur le topic : 

mosquitto_sub -t "stat/LSC_Power_Ender3/RESULT"

{"POWER":"ON"}

{"POWER":"OFF"}

Mapping DHCP de la Villa PRouvlen 

192.168.100.xx

1x - Network Item

.10 - Time Capsule

.11 - iPod Express

  

2x - Laptop Devices

.20 - MacbookPro

.21 - MBP Emilie

.22 - Hp Sopra

 

3x - Home device

.30 - AirPort Express

.31 - Nest

.32 - Apple TV

 

40 - Desktop Devices

.40 MacPro

.41 MacMini

5x - Mobiles Devices

.50 - Charles's iPhone

.51 - iPad Emilie

.52 - iPad Charles

.53 - iPhone Emilie

 

6x - Cam

.60 Camera Salon

.61 Camera Garage

7x - Printer

.70 Ricoh

8x - Domoticz Devices

.80 Rpi0

.81 NodeMCU Chambre BB

.82 NodeMCU Volet Salon

.83 NodeMCU Salle de bains

9x - Other Device

.90 OctoPi

.91 RPi-Photo

 

LetEncrypt permet de certifier gratuitement des serveurs pour le Https. 

 

Voici le lien pour la mise en place de ces derniers. 

https://certbot.eff.org/docs/using.html#certbot-commands