diff --git a/Mesures/humidity/bolo/_zremote_cmd.txt b/Mesures/humidity/bolo/_zremote_cmd.txt index c5163fa..15eeba3 100644 --- a/Mesures/humidity/bolo/_zremote_cmd.txt +++ b/Mesures/humidity/bolo/_zremote_cmd.txt @@ -1,5 +1,5 @@ # Quelques commandes remote (luatool) à envoyer avec le plugin Atom-IDE-terminal de l'éditeur Atom -# zf191214.1235 +# zf191216.2144 # si luatool ne marche pas sur le MAC, il faut lire ceci: # https://docs.google.com/document/d/1q64uK3IMOgEDdKaIAttbYuFt4GuLQ06k3FLeyfCsWLg/edit#heading=h.bmefcu67uwj0 diff --git a/Mesures/humidity/bolo/boot2.lua b/Mesures/humidity/bolo/boot2.lua index 4a581b3..15d36ec 100644 --- a/Mesures/humidity/bolo/boot2.lua +++ b/Mesures/humidity/bolo/boot2.lua @@ -1,6 +1,6 @@ -- Scripts à charger après le boot pour démarrer son projet -print("\n boot2.lua zf191124.1922 \n") +print("\n boot2.lua zf191124.2124 \n") function boot2() second_chance=nil initz=nil boot=nil @@ -27,7 +27,9 @@ function boot2() f= "secrets_project.lua" if file.exists(f) then dofile(f) end f= "set_time.lua" if file.exists(f) then dofile(f) end collectgarbage() - --- f= "b.lua" if file.exists(f) then dofile(f) end +-- f= "0_htu21d.lua" if file.exists(f) then dofile(f) end +-- f= "0_send_data.lua" if file.exists(f) then dofile(f) end +-- f= "0_cron.lua" if file.exists(f) then dofile(f) end f= "web_srv2.lua" if file.exists(f) then dofile(f) end f=nil @@ -36,7 +38,6 @@ function boot2() print("BOOOOUM, y'a plus de boot2 !") wifi_info=nil boot2=nil end) - end end) end diff --git a/Mesures/humidity/bolo/img/htu21d_on_NodeMCU.jpg b/Mesures/humidity/bolo/img/htu21d_on_NodeMCU.jpg new file mode 100644 index 0000000..48e96a5 Binary files /dev/null and b/Mesures/humidity/bolo/img/htu21d_on_NodeMCU.jpg differ diff --git a/Mesures/humidity/bolo/upload_s.sh b/Mesures/humidity/bolo/upload_s.sh index 9cad8c5..063b38d 100755 --- a/Mesures/humidity/bolo/upload_s.sh +++ b/Mesures/humidity/bolo/upload_s.sh @@ -1,6 +1,6 @@ #!/bin/bash # Petit script pour télécharger facilement tout le binz via le port série -#zf191201.2323 +#zf191216.2139 # S'il y a des erreurs lors d'un téléchargement, il faut simplement augmenter un peu le délai ! # Il est préférable de télécharger en premier les *gros* fichiers .lua ! @@ -35,10 +35,11 @@ read -p "Est-ce bien vide ?" ./luatool.py --port $luatool_tty --bar -f flash_led_xfois.lua ./luatool.py --port $luatool_tty --bar -f dir2.lua ./luatool.py --port $luatool_tty --bar -f cat.lua -#./luatool.py --port $luatool_tty --bar -f c.lua ./luatool.py --port $luatool_tty --bar -f boot2.lua ./luatool.py --port $luatool_tty --bar -f boot.lua -#./luatool.py --port $luatool_tty --bar -f b.lua +./luatool.py --port $luatool_tty --bar -f 0_send_data.lua +./luatool.py --port $luatool_tty --bar -f 0_htu21d.lua +./luatool.py --port $luatool_tty --bar -f 0_cron.lua ./luatool.py --port $luatool_tty -l read -p "Pas eu d'erreur, on part à fond avec le init.lua ?"