Re: [weewx-user] Where to modify the final timestamp?

2023-03-11 Thread Blaise Cacramp
As in fact, Tom, the Datetime field was no longer in 1st position. I placed it properly while keeping the additional field in 2nd position and it still did not work, even by placing it in the last position. I have resolved it to delete it and it seems to leave, in any case, no error message.

Re: [weewx-user] Where to modify the final timestamp?

2023-03-10 Thread Blaise Cacramp
(16.5-TPE >= 0):     DJ16= round(16.5-TPE,2)   else :     DJ16 = 0   if (18-TPE >= 0):     DJ18= round(18-TPE,2)   else :     DJ18 = 0   print(round(DJ16,2), end='\t')   print(round(DJ18,2), end='\n')   sql="UPDATE t_quotidien SET t_quotidien.q_tpe = "+ str(TPE)  

Re: [weewx-user] Where to modify the final timestamp?

2023-03-10 Thread Blaise Cacramp
ema* sqlite> *.quit* On Fri, Mar 10, 2023 at 5:34 AM Blaise Cacramp wrote: Ok, not null values Le 10-03-23 à 14:09, Tom Keffer a écrit : Do you have a null value for dateTime in your database? Here is how to check.First, make sure you have the tool sqlite3 *su

Re: [weewx-user] OSError: [Errno 113] Aucun chemin d'accès pour atteindre l'hôte cible

2023-03-08 Thread Blaise Cacramp
Hello this good morning Here, it's +/- relaunched : There are 6 errors of this type there: ERROR weewx.manager: Unable to add record 2023-03-07 20:25:00 CET (1678217100) to database 'weewx': (1062, "Duplicate entry '1678217100' for key 'PRIMARY'") How to fix this? Have I lost more than a we

Re: [weewx-user] OSError: [Errno 113] Aucun chemin d'accès pour atteindre l'hôte cible

2023-03-08 Thread Blaise Cacramp
Sorry to have bothered you (your sigh) I have been self-taught since 1978. With my financial means, I learned to program on a Ti-57 (49 programming step!) Then a pokcet-PC limited to 2 kB and 26 variables. We learn to be concise. But you know like me that IT is vast. And that you cannot be compe

Re: [weewx-user] OSError: [Errno 113] Aucun chemin d'accès pour atteindre l'hôte cible

2023-03-08 Thread Blaise Cacramp
Thank you, but is this procedure no longer sure to keep the database and the customization of the skin Le 08-03-23 à 18:37, vince a écrit : A longer description and possible fix is in https://forums.raspberrypi.com/viewtopic.php?t=262963#p1601067 -- You received this message because you ar

Re: [weewx-user] OSError: [Errno 113] Aucun chemin d'accès pour atteindre l'hôte cible

2023-03-08 Thread Blaise Cacramp
Well, anyway I was not at home and almost without internet. Unanswered, I was going to start doing research elsewhere on the web. Well, it still doesn't work: pi@PiMeteo:~ $ sudo modprobe ftdi_sio modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/mod

Re: [weewx-user] OSError: [Errno 113] Aucun chemin d'accès pour atteindre l'hôte cible

2023-03-05 Thread Blaise Cacramp
"lsmod" does not see much. And when I try this with "insmod", it's not terrible. Sorry, I'm far from being a Linuxien guru pi@PiMeteo:~ $ lsmod Module  Size  Used by --- pi@PiMeteo:~ $ insmod /dev/ttyUSB0 insmod: ERROR: could not load module /

Re: [weewx-user] OSError: [Errno 113] Aucun chemin d'accès pour atteindre l'hôte cible

2023-03-05 Thread Blaise Cacramp
Hello and thank you It's very verbose and I don't see anything clear. Here is the 2nd dmesg pi@PiMeteo:~ $ dmesg [    0.00] Booting Linux on physical CPU 0x0 [    0.00] Linux version 5.10.63-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU

Re: [weewx-user] OSError: [Errno 113] Aucun chemin d'accès pour atteindre l'hôte cible

2023-03-04 Thread Blaise Cacramp
I have already tried the 4 ports, without success pi@PiMeteo:~ $ sudo geany /etc/weewx/weewx.conf pi@PiMeteo:~ $ sudo /etc/init.d/weewx restart [ ok ] Restarting weewx (via systemctl): weewx.service. pi@PiMeteo:~ $ sudo tail -f /var/log/syslog | tee /var/tmp/SysLog Mar  4 21:39:39 PiMeteo weewx[3

Re: [weewx-user] OSError: [Errno 113] Aucun chemin d'accès pour atteindre l'hôte cible

2023-03-04 Thread Blaise Cacramp
Yes, that's what I also thought: a problem in my IP adapter. (the LED no longer flashes) Fortunately I have a USB adapter in a corner. I will change that. Thank you Tom Le 04-03-23 à 14:05, Tom Keffer a écrit : I am guessing that you are trying to connect to a Vantage station through an etherne

Re: [weewx-user] Uptime in seconds with v4.10.1?

2023-02-03 Thread Blaise Cacramp
02/04/23 07:15:00 No rain today and Since 01/31/23 15:05:00 *(10 minutes, 0 seconds)* Le 03-02-23 à 18:07, PC a écrit : Sorry, it doesn't work completely. With all my respect, go see the result yourself Le vendredi 3 février 2023 à 17:20:01 UTC+1, tke...@gmail.com a écrit : It should be

Re: [weewx-user] Uptime in seconds with v4.10.1?

2023-02-03 Thread Blaise Cacramp
.inc.dpkg-dist. Be sure that the template about.inc has the addition of ".long_form". On Fri, Feb 3, 2023 at 5:35 AM Blaise Cacramp wrote: Season, https://cambier.eu/meteo/ If the top ha

Re: [weewx-user] Uptime in seconds with v4.10.0?

2023-02-03 Thread Blaise Cacramp
Season, https://cambier.eu/meteo/ If the top has been personalized, this is not the case for "about.inc.dpkg-dist"       $gettext("Server uptime")   $station.os_uptime.long_form           $gettext("WeeWX uptime")   $station.uptime.long_form     Le 03-02-23 à 14:12, Tom Ke

Re: [weewx-user] Re: Pi4 to Pi3 weewx migration

2022-10-10 Thread Blaise Cacramp
Thank you, I will do like that Le 09-10-22 à 23:55, Rainer Lang a écrit : I would use the following approach: 1. take a (new) SD card and put a bootable OS image for a RPi3 on it 2. try to start up /boot your RPi3 3. if it doesn't boot, look up via Google the topic: creating an OS image for RP

Re: [weewx-user] Re: Pi4 to Pi3 weewx migration

2022-10-10 Thread Blaise Cacramp
Yes, that cannot work. It was a poker blow. The French Raspberry Forum did not even answer me! I will take the solution from Rainer Lang Le 09-10-22 à 22:46, vince a écrit : This isn't a 'pi' forum.  You might have better luck on reddit in /r/raspberrypi for general pi questions. On Sunday, O

Re: [weewx-user] Re: Pi4 to Pi3 weewx migration

2022-10-09 Thread Blaise Cacramp
Yes, I was not explicit enough, sorry. The pi3 did not boot. Le 09-10-22 à 20:31, vince a écrit : Which "it" did not work ?   Did the pi3 boot ?  Did weewx not work after it booted ? We can't help without more information and also seeing some logs (if it is weewx you are asking about). See

Re: [weewx-user] Is WeEWX 4.7 update healthy?

2022-03-08 Thread Blaise Cacramp
Thank you Tom. Sorry for my bad English, but you understood me correctly. Good continuation Le 07-03-22 à 17:13, Tom Keffer a écrit : I think we might have a bit of a language problem, but if you're asking whether the updates fixed everything, the answer is, "Almost." The only issue not addres

Re: [weewx-user] Re: Difficulties of using wee_import

2021-10-25 Thread Blaise Cacramp
Yes, I found that I had to wait 24 hours. But if I understand you correctly, I have to start the import again? Le 25-10-21 à 12:47, gjr80 a écrit : Remember also that year plots are produced every 24 hours so you will need to wait up to 24 hours for the change to take effect or delete the previ

Re: [weewx-user] Re: Difficulties of using wee_import

2021-10-25 Thread Blaise Cacramp
Thank you Gary, it worked but I have a doubt about UV that are abnormally low. It is clearly seen on the graph https://cambier.eu/meteo/yearuv.png (around 06/01) I do not know if it's the data that's not good or if it's when importing there was a problem Le 24-10-21 à 10:32, gjr80 a écrit : In

Re: [weewx-user] Re: Wee_import: I do not understand the explanations on the dateTime element in the [[FieldMap]]

2021-10-22 Thread Blaise Cacramp
Thank you, you understood me correctly. In the meantime, I ended up understanding. thanks again PC Le 22-10-21 à 08:26, gjr80 a écrit : Hi, Perhaps it is the language barrier but I am not quite sure what you are asking. As I understand it you have some CSV format data you wish to import using

Re: [weewx-user] Re: The data statement stopped

2021-06-28 Thread Blaise Cacramp
Ok, I understood what the "dump" does (It's in progress) Le 28-06-21 à 11:03, gjr80 a écrit : The link I provided had two distinct steps. First removing the batteries from the console to reset the console, if that does not help then the second step is to use wee_device to first dump the logger

Re: [weewx-user] Search for a value of X hours ago

2021-05-06 Thread Blaise Cacramp
Oui, théoriquement 21600 secondes https://weewx.com/docs/customizing.htm#Time_periods « delta_t is the largest time difference (in seconds) between the time specified and a timestamp of a record in the database that will be returned. By default, it is zero, which means there must be an exact