I do appreciate you patience, thanks.
I'd love to provide a log file, however when I try to start either of
weewx-fousb or weewx-wh2950 using "weather@weewxserver:~$ sudo
/etc/init.d/weewx-* start", "tail -f /var/log/syslog" doesn't show any
response at all, and the prompt shows "Starting weewx-fousb (via
systemctl): weewx-fousb.service." then just goes back to "
weather@weewxserver:~$ " - there are no errors, no nothing.
If I use "sudo weewxd /etc/weewx/wh2950.conf" (or fousb.conf), it works as
expected - but obviously only as long as I have that terminal window open.
sudo /etc/init.d/weewx status shows that it's not running, but I can't tell
why.
weather@weewxserver:~$ sudo /etc/init.d/weewx status
● weewx.service - LSB: weewx weather system
Loaded: loaded (/etc/init.d/weewx; generated)
Active: active (exited) since Fri 2020-08-07 11:38:26 UTC; 54min ago
Docs: man:systemd-sysv-generator(8)
Tasks: 0 (limit: 9448)
Memory: 0B
CGroup: /system.slice/weewx.service
Aug 07 11:38:26 weewxserver systemd[1]: Starting LSB: weewx weather
system...
Aug 07 11:38:26 weewxserver weewx[1138]: * Starting weewx weather system
weewx
Aug 07 11:38:26 weewxserver python3[1157]: weewx[1157] INFO __main__:
Initializing weewx version 4.1.1
Aug 07 11:38:26 weewxserver python3[1157]: weewx[1157] INFO __main__: Using
Python 3.8.2 (default, Jul 16 2020, 14:00:26)
[GCC 9.3.0]
Aug 07 11:38:26 weewxserver python3[1157]: weewx[1157] INFO __main__:
Platform Linux-5.4.0-42-generic-x86_64-with-glibc2.29
Aug 07 11:38:26 weewxserver python3[1157]: weewx[1157] INFO __main__:
Locale is 'en_US.UTF-8'
Aug 07 11:38:26 weewxserver python3[1157]: weewx[1157] INFO __main__: PID
file is /var/run/weewx.pid
Aug 07 11:38:26 weewxserver weewx[1138]: ...done.
Aug 07 11:38:26 weewxserver systemd[1]: Started LSB: weewx weather system.
weather@weewxserver:~$
On Saturday, 8 August 2020 at 00:17:48 UTC+12 [email protected] wrote:
> We will need more details than "I can't get them to run..."
>
> Please see the wiki article *Help! Posting to weewx-user
> <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user>*.
>
> On Fri, Aug 7, 2020 at 5:10 AM [email protected] <[email protected]>
> wrote:
>
>> Thanks for the reply, and my apologies for the lack of detail initially -
>> at was just after 1AM when I wrote that, and i'd been staring at weewx
>> forum posts for quite a few hours.
>>
>> I have both a FOUSB WH1080 and a WH2950 here. The fousb outdoor unit has
>> seen better days, but the indoor unit works well, and is connected via usb
>> to my server, which both live in a room off the side of my garage. The
>> WH2950 is new and I have it setup to get both the weather outdoors, and the
>> conditions inside my house.
>>
>> What I would like to be able to do is have a webpage (the SeasonsReport
>> would be perfectly fine) that shows all the available sensor data from the
>> WH2950, and also has the "inside temp" and "inside humidity" from the fousb
>> shown on the same page. To that end, I managed to get two instances of
>> weewx running on my server using the guide and I thought (somewhat naively
>> it would seem) that once I had bound one database to the other, the report
>> generator would add both sets of data together and produce one web page
>> with all the sensor data from both weather stations.
>>
>> I then went and changed from setup.py to a .deb install, due to some
>> other issues I was having. I followed MWALL's
>> <https://groups.google.com/d/msg/weewx-user/FsKRIt8wG5I/Nh5u_ITiLgAJ>
>> instructional post on how to get multiple instances running under a .deb
>> install, but seem to have fallen at the last hurdle - getting it to run. I
>> can invoke weewxd at the command line for each .conf file and they will
>> both run happily, however I can't get them to run on startup or in the
>> background. i've obviously mucked something up in the /etc/init.d/ files
>> for each instance, i will have to solve that first before I come back to
>> solving how to display data from two databases in one web report.
>>
>> I followed the instructions in this link here
>> <https://groups.google.com/d/msg/weewx-user/FsKRIt8wG5I/Nh5u_ITiLgAJ>
>> but just substituted vantage and cc3000 with wh2950 and fousb. If anyone
>> can see anything obviously wrong with those instructions, I'd love to hear
>> it.
>>
>> I've had weewx running for years with no issue, as long as i leave it
>> alone...
>>
>>
>>
>> On Friday, 7 August 2020 at 02:22:01 UTC+12 vince wrote:
>>
>>> On Thursday, August 6, 2020 at 6:18:51 AM UTC-7, George Alexander wrote:
>>>
>>>> I have been trying, thus far without success, to display the
>>>> measurements from two separate databases of weewx on the one report.
>>>>
>>>>
>>>>
>>> In your cheetah template simply add info telling it which db to pull from
>>>
>>> <td
>>> class="stats_data">$latest($data_binding='wh2950_binding').extraTemp1</td>
>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>>
> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/1448c791-8483-4d48-b0fa-fc141954106bn%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/weewx-user/1448c791-8483-4d48-b0fa-fc141954106bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/9ae1104c-99e3-43b4-95cd-73ba4cfe1b3an%40googlegroups.com.