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
end='\t')   print(round(DJ18,2), end='\n')   sql="UPDATE t_quotidien SET t_quotidien.q_tpe = "+ str(TPE)   sql += ", t_quotidien.q_dj_18 = " +str(DJ18)   sql += ", t_quotidien.q_dj_16 = " + str(DJ16)   sql += " WHERE t_quotidien.q_date='" + str(DateQuot) +"

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

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

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

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

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

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

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
g-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 has been personalized, this

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

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

2022-10-10 Thread Blaise Cacramp
22:46, vince wrote: This isn't a 'pi' forum.  You might have better luck on reddit in /r/raspberrypi for general pi questions. On Sunday, October 9, 2022 at 11:36:07 AM UTC-7 blaise@gmail.com wrote: Yes, I was not explicit enough, sorry. The pi3 did not boot. Le 09-10-22 à 20

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

2022-10-10 Thread Blaise Cacramp
, October 9, 2022 at 11:36:07 AM UTC-7 blaise@gmail.com wrote: 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 he

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

2022-10-09 Thread Blaise Cacramp
ut). See https://github.com/weewx/weewx/wiki/faq-how-to-report-a-problem On Sunday, October 9, 2022 at 2:53:55 AM UTC-7 blaise@gmail.com wrote: Hello, I would like to migrate weewx from a Pi4 to a Pi3. I tried to simply put the SD card and it did not, of course, work.

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

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

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

2021-10-25 Thread Blaise Cacramp
 : In this case you have not specified any units for the ‘uv’ field in your CSV data, try something like:     UV  = uv, uv_index Gary On Sunday, 24 October 2021 at 17:32:35 UTC+10 blaise@gmail.com wrote: OK, I move everything slowly: I placed everything in the "/etc/

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

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

Re: [weewx-user] Civil twilight list for a year

2021-04-03 Thread Blaise
Ah Yesss, perfect ! #for $day in $year.days $day.dateTime.format("%d/%m/%Y");$almanac(almanac_time=$day.dateTime.raw, horizon=-6).sun(use_center=1).rise;$almanac(almanac_time=$day.dateTime.raw, horizon=-6).sun(use_center=1).set #end for I'm starting to apprehend language (I was gone in a loop

Re: [weewx-user] tag of the age of the moon (in days)

2021-03-30 Thread Blaise
This because I have 29 images of the moon in its different phases : #set $md = int (($almanac.moon_fullness / 3.45) +.5) #set $fmd = "/images/lune- "+ str ($md) +" .png "     Lune & NBSP;: & nbsp; $almanac.moon_phase $almanac.moon_fullness & nbsp;%     Le 30-03-21 à 11:05, Tom Keffer a

Re: [weewx-user] tag of the age of the moon (in days)

2021-03-30 Thread Blaise
Well no, Tom, This tag gives "the lighting" of the moon: 100% = full moon, 0% = new moon. So it goes from 0% to 0% (new moon) via 100% (full moon). It does not indicate the age of the moon, since we do not know where we come from and to what we are going. I had the same idea: "#set $md = int

Re: [weewx-user] tag date and time of the last rain

2021-03-22 Thread Blaise
Yes, after the fire disaster, this deluge is followed in world news. You do not live in a quiet location! I am well in Belgium Le 22-03-21 à 00:29, Dun Mac a écrit : Although Ozstrayla may have to wait until it can be utilised. Rain in the last 7 days has been 456.2mm (18") -- You received

Re: [weewx-user] Re: raspberry pi3 installation completed, a page displayed and no update

2020-12-12 Thread Blaise
Ok, merci à tous ! Le 12-12-20 à 23:34, Tom Keffer a écrit : Big +1 on that. A UPS is essential for reliable 7x24 operation. I have one an an RPi that has been running without a crash for nearly 2 years . -- Cet email a fait l'objet d'une

Re: [weewx-user] Re: raspberry pi3 installation completed, a page displayed and no update

2020-12-12 Thread Blaise
Oh, translation problem "Here we go again", it is to say that everything starts again normally, that it works. It seems to me to be a recurring problem on these small consoles (I have two of them) I wanted to know if, like an SD card, their memory has a limited lifespan. cordially Le 12-12-20

Re: [weewx-user] Re: raspberry pi3 installation completed, a page displayed and no update

2020-12-12 Thread Blaise
Ok, here we go again. However, I had already served before. Do these (small) Vantage Vue consoles have a limited lifespan? Like SD cards with limited rewrite count? What are your opinions? To read you, PC Le 11-12-20 à 14:20, Tom Keffer a écrit : This appears to be a classic case of memory

Re: [weewx-user] Re: raspberry pi3 installation completed, a page displayed and no update

2020-12-11 Thread Blaise
Yeah, but it works fine with weatherlink ... Je regarderais de plus près demain cordialement PC Le 11-12-20 à 14:20, Tom Keffer a écrit : This appears to be a classic case of memory corruption in your Davis logger. See the section WeeWX generates HTML pages, but it does not update them

Re: [weewx-user] Re: raspberry pi3 installation completed, a page displayed and no update

2020-12-11 Thread Blaise
Hello, Yes it is the MariaDb version that I had installed. The config and syslog files are located in this folder: https://www.dropbox.com/sh/osg6aiqspyts5ju/AADI6aws4ljAYTUhyP9Pkpqia?dl=0 Therefore : "screen / dev / ttyUSB0 19200" works as expected. The weewx database is indeed created with

Re: [weewx-user] Re: raspberry pi3 installation completed, a page displayed and no update

2020-12-10 Thread Blaise
Hello, I tried installing MySQL according to the reference you gave me ... which doesn't work (I go through the google translator) " pi @ pi-meteo: ~ $ sudo apt install mysql-client Reading Package Lists ... Done Building the dependency tree Reading status information ... Done No version of the

Re: [weewx-user] Re: raspberry pi3 installation completed, a page displayed and no update

2020-12-08 Thread Blaise
Hello Voici les fichiers de configuration et de log : https://www.dropbox.com/sh/osg6aiqspyts5ju/AADI6aws4ljAYTUhyP9Pkpqia?dl=0 Le 30-11-20 à 17:20, P C a écrit : and new to linux and raspberry - not easy! Le lundi 30 novembre 2020 à 17:18:39 UTC+1, P C a écrit : Hello, Sorry,