Search found 317 matches

by Stian1979
2024-10-30 20:05
Forum: Installation
Topic: Insyde bios
Replies: 2
Views: 211

Insyde bios

My old HP is failing and about time to change to another laptop and I'm honestly quite happy with my current install. Now the new laptop don't have SATA so I need to move on the PCIe and i bought an casing for PCIe and simply dd the partition table of my old one over to this trough USB. Dont look li...
by Stian1979
2022-08-22 13:09
Forum: System and Network configuration
Topic: Debian stable randomly shut down
Replies: 22
Views: 6653

Re: Debian stable randomly shut down

Just been running two passes with memtest that came up with nothing. Been having the issues since i bought the PC and always assumed it was a OS issue until i did a fresh install and still having the issue. Keeping the system monitor up to check for any temperatures or abnormal use of resources. Hop...
by Stian1979
2022-08-22 09:08
Forum: System and Network configuration
Topic: Debian stable randomly shut down
Replies: 22
Views: 6653

Re: Debian stable randomly shut down

What you're looking at is a hardware problem . Your CPU is not pleased, and assuming you're not oveclocking or undervolting it prime suspects would be memory, power, or cooling. I would instantly reject cooling since I can instantly turn it back on en run it for anything between 2 hours and 2minunt...
by Stian1979
2022-08-21 20:25
Forum: System and Network configuration
Topic: Debian stable randomly shut down
Replies: 22
Views: 6653

Re: Debian stable randomly shut down

A fresh install never fixed the problem and new versions of debian did not either. Not been using this laptop again for a while, but decided to try to get to the root of this problem. two versions seams to always be at the end of the kernel log when this shutdowns appear. aug. 18 22:55:18 debian ker...
by Stian1979
2020-03-09 05:32
Forum: Programming
Topic: Select data from openweathermaps with python
Replies: 8
Views: 7495

Re: Select data from openweathermaps with python

Dai_trying wrote:What "data" do you actually need/want?
Tomorrows forcast at 12:00. Temperature, sunrise and clouds for starters.
by Stian1979
2020-03-08 19:46
Forum: Programming
Topic: Select data from openweathermaps with python
Replies: 8
Views: 7495

Re: Select data from openweathermaps with python

Shamelessly copied someones work and been playing with it. Added a line that tells me what date it is tomorrow so I can use it to pick data from the response, but got no idea how to do it and youtube and google has not been helpful. I should also try spesify the time a day. # import required modules...
by Stian1979
2020-03-08 15:49
Forum: Programming
Topic: Select data from openweathermaps with python
Replies: 8
Views: 7495

Re: Select data from openweathermaps with python

If that is part of a web page then you could easily "scrape" the content you need, I found this YT video by engineer man very interesting when I was doing something similar, other YT authors to look for might be Corey schafer who provides a lot of python content (including web scraping). ...
by Stian1979
2020-03-08 06:29
Forum: Programming
Topic: Select data from openweathermaps with python
Replies: 8
Views: 7495

Re: Select data from openweathermaps with python

If that is part of a web page then you could easily "scrape" the content you need, I found this YT video by engineer man very interesting when I was doing something similar, other YT authors to look for might be Corey schafer who provides a lot of python content (including web scraping). ...
by Stian1979
2020-03-07 20:59
Forum: Programming
Topic: Select data from openweathermaps with python
Replies: 8
Views: 7495

Re: Select data from openweathermaps with python

I think part of this is finding tomorrows date.

Code: Select all

import datetime
tomorrow = datetime.date.today() + datetime.timedelta(days=1)
Then use this to find where in the data I wish to start read.

Code: Select all

y = x[tomorrow_12:00:00] 
put a limit on how many caracters it should read in.
by Stian1979
2020-03-07 20:01
Forum: Programming
Topic: Select data from openweathermaps with python
Replies: 8
Views: 7495

Select data from openweathermaps with python

Been reading this from openweathermaps and I wish to select the data from thats valid for tomorrow only. How would I go about to do that in python? {'message': 0, 'cod': '200', 'city': {'country': 'NO', 'sunset': 1583600359, 'population': 580000, 'sunrise': 1583560613, 'timezone': 3600, 'id': 314324...
by Stian1979
2020-03-01 07:07
Forum: Off-Topic
Topic: home automation
Replies: 17
Views: 9380

Re: home automation

There is libmodbus in Debian repos, don't know other than name of it. You need anyhow some I/O card, I don't know if linux kernel supports any, or some microcontroller to drive electricity on. PC can not do it on its own. To read values from net, you can use Debian, there are many options, but all ...
by Stian1979
2020-03-01 06:57
Forum: Off-Topic
Topic: home automation
Replies: 17
Views: 9380

Re: home automation

Obvious you need some scrictping to do that automation part. Also you have to check how elctricity is connected to your boiler, where would it be easiest to connect. Perhaps there are some wires you can utilize. If you have programming experience, you probably have idea where to start. If not, i'd ...
by Stian1979
2020-02-29 17:56
Forum: Off-Topic
Topic: home automation
Replies: 17
Views: 9380

Re: home automation

I have a 250litre accumulator tank for heat storage for the central heating. I wish to uae weather forcast to predict next days heat production from evacuated tubes. I cross posted and missed this, Ok I do understand then. It is relevant in your case to 'guess' ahead of any built in coasting. Reall...
by Stian1979
2020-02-29 17:44
Forum: Off-Topic
Topic: home automation
Replies: 17
Views: 9380

Re: home automation

Thinking of something debian since im likely to find the packages I need. What I and CwF have written indicates you hardly find any package to do all that's required. I don't expect something finished, but some librarys that let me use modbus to control IO's, read weatherdata and fetch the electric...
by Stian1979
2020-02-29 15:52
Forum: Off-Topic
Topic: home automation
Replies: 17
Views: 9380

Re: home automation

Weatherforcast for the next 12-24 hours are quite "reliable" I have a 250litre accumulator tank for heat storage for the central heating. I wish to uae weather forcast to predict next days heat production from evacuated tubes. Hours dayligh*temperature as analog values and with clouds as c...
by Stian1979
2020-02-29 13:03
Forum: Off-Topic
Topic: home automation
Replies: 17
Views: 9380

home automation

Im in the process to get some kinda smart management of my central heating. I wish to fetch a list of spot prices of electrical power of the internet and fetch weather data and use this to estimate if I need to use electricity to heat up the water if the forcast dont show promisse of sunshine and tr...
by Stian1979
2019-08-07 18:19
Forum: Graphical Environments & Desktops
Topic: Debian 10 no login screen
Replies: 2
Views: 3025

Debian 10 no login screen

Fresh install from USB image. I installed two display managers and none seams to trigger, I selected a theme for the login screen, but all I get is console login where I need to manually startx. Been googling, but seams no one else got this problem so far or im the only one dumb enough to not figure...
by Stian1979
2018-01-31 05:39
Forum: System and Network configuration
Topic: Debian stable randomly shut down
Replies: 22
Views: 6653

Re: Debian stable randomly shut down

Fresh install windows way.
by Stian1979
2018-01-27 00:28
Forum: System and Network configuration
Topic: Debian stable randomly shut down
Replies: 22
Views: 6653

Re: Debian stable randomly shut down

Downloaded the latest kernel and firmware. And improvements are zero. Blacklisted the kernels driver and got rid of the messages at kernel initialization. Tried to modprobe modules, but command won't work. Been downloading all files by Android and transferred with USB so still no wireless and no cab...
by Stian1979
2018-01-25 16:19
Forum: System and Network configuration
Topic: Debian stable randomly shut down
Replies: 22
Views: 6653

Re: Debian stable randomly shut down

Noticed something funny I not seen before.

When the kernel initialize I get.
ffff8908bf0c26f0) AE_NO_MEMORY (20160831/psparse-543) [ 1.464064] r8169 0000:01:00.2 (unnamed net_device) (initialized): rtl_chip cmd_cond == 1 (loop: 100, delay: 100).
[ 1.479828] r8169 0000:01:00.2 etc0........