Go to advanced search

by david_1234
Mon Feb 15, 2021 3:25 pm
Forum: Troubleshooting
Topic: canbus interfce cause pi to reboot?
Replies: 0
Views: 59

canbus interfce cause pi to reboot?

can it be that the canbus interface cause my PI to reboot ? this is what I see in the /var/log/kern.log Feb 15 16:57:07 raspberrypi kernel: [ 55.289959] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready Feb 15 16:57:09 raspberrypi kernel: [ 57.252425] can: controller area network core (rev 201...
by david_1234
Mon Feb 15, 2021 11:34 am
Forum: Troubleshooting
Topic: can I see in syslog if my pi is over heat?
Replies: 10
Views: 305

Re: can I see in syslog if my pi is over heat?

I don't think it will help me
because the unit had reboot ~ 500 times since

I will try to search for another solution
maybe watchdog will help? but not reboot just save in syslog the data
by david_1234
Mon Feb 15, 2021 9:42 am
Forum: Troubleshooting
Topic: can I see in syslog if my pi is over heat?
Replies: 10
Views: 305

Re: can I see in syslog if my pi is over heat?

will this also work back 2-3 days?
or it's "live" status only ?
by david_1234
Mon Feb 15, 2021 8:40 am
Forum: Troubleshooting
Topic: can I see in syslog if my pi is over heat?
Replies: 10
Views: 305

Re: can I see in syslog if my pi is over heat?

I know hot to get the current temp
but I want to know if I had this problem before and that what made him reboot every 15 seconds

because now the AC is running again , and the pi is working without any problem
want to make sure this was the problem

Thanks ,
by david_1234
Sun Feb 14, 2021 1:42 pm
Forum: Troubleshooting
Topic: can I see in syslog if my pi is over heat?
Replies: 10
Views: 305

can I see in syslog if my pi is over heat?

Hello , I want to know if Ican check back and see if there was a heat problem becuase the AC where the PI connect stop working , and I can see the pi is rebooting (ping for 15 seconds , no replay for 40 seconds - in a loop) I checked another CPU in the same room , and saw the temperture of it is ~ 6...
by david_1234
Wed Feb 10, 2021 11:15 am
Forum: General discussion
Topic: using watchdog on pi
Replies: 4
Views: 189

using watchdog on pi

Hello , I want to make sure I'm using the watchdog correct , because I think I miss something this is what I have done: sudo apt-get install watchdog this is what I change in the file sudo nano /etc/watchdog.conf ping = 10.0.0.1 interface = eth0 retry-timeout = 300 interval = 30 log-dir = /var/log/w...
by david_1234
Tue Feb 09, 2021 11:27 am
Forum: Python
Topic: Picamera webserver - how to print fps and timestamp
Replies: 0
Views: 66

Picamera webserver - how to print fps and timestamp

Hello , I have found this python code to broadcast my PI camera as a web page for now it's good for what I need can I show on the image the current fps and the timestamp? I ahve try to use this line while (dt.datetime.now() - start).seconds < 1: camera.annotate_text = dt.datetime.now().strftime('%Y-...
by david_1234
Tue Feb 09, 2021 8:05 am
Forum: Camera board
Topic: how to watch on board PI camera
Replies: 17
Views: 652

Re: how to watch on board PI camera

I will try to run it on a fresh SD

Thanks ,
by david_1234
Mon Feb 08, 2021 7:15 am
Forum: Camera board
Topic: how to watch on board PI camera
Replies: 17
Views: 652

Re: how to watch on board PI camera

I did't change anything just copy from the link you post as-is But here it say the package is install, no? sudo apt-get install python3-picamera Reading package lists... Done Building dependency tree Reading state information... Done python3-picamera is already the newest version. also the Picamera ...
by david_1234
Sun Feb 07, 2021 3:10 pm
Forum: Camera board
Topic: how to watch on board PI camera
Replies: 17
Views: 652

Re: how to watch on board PI camera

Sorry to bump but I have try to run the link you but I get this error: python3 Documents/RTSP_Server.py Traceback (most recent call last): File "Documents/RTSP_Server.py", line 4, in <module> camera = PiCamera(sensor_mode=2, resolution='1920x1080', framerate=30) NameError: name 'PiCamera' ...
by david_1234
Wed Feb 03, 2021 8:19 am
Forum: Beginners
Topic: run appliction on startup without autologin?
Replies: 3
Views: 131

Re: run appliction on startup without autologin?

so maybe i ahve a bigger problem? I have a python code that start on boot , play a sound then start a server on port 1234 async def hello(websocket, path): ClientResponse = await websocket.recv() print ("\r\nGot New Message!!!! \n\r " + ClientResponse) try: SendToOled(ClientResponse ) exce...
by david_1234
Tue Feb 02, 2021 3:02 pm
Forum: Java
Topic: can I change the string format with a variable?
Replies: 4
Views: 221

Re: can I change the string format with a variable?

OK
so I don;t need to save the resualt as double?
so this 2 lines are "made" auto?

Code: Select all

value = ( (value*gain) - Offset );
Result = Double.toString(value);
by david_1234
Tue Feb 02, 2021 1:53 pm
Forum: Java
Topic: can I change the string format with a variable?
Replies: 4
Views: 221

Re: can I change the string format with a variable?

yes it's working after playing I found this working String answer = TestFunction(Data, 6.0279 , 125 , 2); public static String TestFunction (String x , double gain ,double Offset , int DecNumber) { String Result = "0"; double value = 0; value = ( (value*gain) - Offset ); Result = Double.to...
by david_1234
Tue Feb 02, 2021 1:28 pm
Forum: Java
Topic: can I change the string format with a variable?
Replies: 4
Views: 221

can I change the string format with a variable?

Hello. wanted to know if (and how) I can do the following I have a function the calculte numbers and then I want to save them as a string with my choice of numbers after the decimal dot. I use this double val1 = 0; String Result = "0"; val1 = calculateData(1234,0.25458) Result= Double.toSt...
by david_1234
Tue Feb 02, 2021 9:41 am
Forum: Beginners
Topic: run appliction on startup without autologin?
Replies: 3
Views: 131

run appliction on startup without autologin?

Hello , up until now I used my PI with the "Auto login login as user 'pi' " option now I don't want this - and want to enter password before enter the desktop I have disable the option , I can see that when the device is boot - i get user\password the issue is that I have application runni...
by david_1234
Wed Dec 30, 2020 11:08 am
Forum: Camera board
Topic: how to watch on board PI camera
Replies: 17
Views: 652

Re: how to watch on board PI camera

it's seem like a very nice project!

I will buy another camera and try it on my PI4

Thanks ,
by david_1234
Tue Dec 29, 2020 7:19 am
Forum: Camera board
Topic: how to watch on board PI camera
Replies: 17
Views: 652

Re: how to watch on board PI camera

this is what I have done sill not working update_config=1 ctrl_interface=/var/run/wpa_supplicant network={ scan_ssid=1 key_mgmt=WPA-PSK WPA-EAP psk="MyPassword" ssid="MyWiFiName" } I have also try to remove the password and connect free - still give me the same error maybe the na...
by david_1234
Mon Dec 28, 2020 7:00 pm
Forum: Camera board
Topic: how to watch on board PI camera
Replies: 17
Views: 652

Re: how to watch on board PI camera

yes it's booting but I can't see the PI over the network when I connect an HDMI I see he get the error: wired network : no device panic : rebooting I have looked and it said to add this file in the SD card root : wpa_supplicant.conf with this setting : update_config=1 ctrl_interface=/var/run/wpa_sup...
by david_1234
Mon Dec 28, 2020 10:32 am
Forum: Python
Topic: websocket server loop?
Replies: 4
Views: 207

Re: websocket server loop?

Thanks
I thing I get it now and it's seem to be working

Thank you for the explain!
by david_1234
Mon Dec 28, 2020 10:30 am
Forum: Camera board
Topic: how to watch on board PI camera
Replies: 17
Views: 652

Re: how to watch on board PI camera

so nothing for PI Zero W?
by david_1234
Mon Dec 28, 2020 7:20 am
Forum: Camera board
Topic: unable to see video from PI-Camera
Replies: 0
Views: 78

unable to see video from PI-Camera

hello , I have try to install motion app but i can reach the video on browser \ VLC - "connection refused" when I check the motion status it's seem to be green and working I have done what it said here: https://tutorials-raspberrypi.com/raspberry-pi-security-camera-livestream-setup/ so I t...
by david_1234
Mon Dec 28, 2020 6:30 am
Forum: Camera board
Topic: how to watch on board PI camera
Replies: 17
Views: 652

Re: how to watch on board PI camera

which image did you used?
I have try to use this on my pi zero
motioneyeos-orangepizero-20200606.img
but it didn't boot at all
by david_1234
Sun Dec 27, 2020 5:15 pm
Forum: Camera board
Topic: how to watch on board PI camera
Replies: 17
Views: 652

how to watch on board PI camera

what is the best to broadcast the PI camera?
use motion ?
or there is something else?

I want to the the pi as an IP camera (whilt the pi run other python scripts from sensors (PIR \ temp \)
Thanks,
by david_1234
Sun Dec 27, 2020 11:01 am
Forum: Beginners
Topic: motion eye for PI zero with camera
Replies: 0
Views: 53

motion eye for PI zero with camera

what do I need to download for the pi-zero ? which version of the Motion eye? motioneyeos-raspberrypi-20200606.img.xz motioneyeos-raspberrypi2-20200606.img.xz motioneyeos-raspberrypi3-20200606.img.xz motioneyeos-raspberrypi4-20200606.img.xz and also and if I wnat to run the camera on th PI-Zero with...
by david_1234
Thu Dec 24, 2020 8:05 am
Forum: Python
Topic: websocket server loop?
Replies: 4
Views: 207

Re: websocket server loop?

great it's seem to be working now so now all I have to do is to change the time_update function with my own function (read data from sensors and do all kind of staff ) ? no need to change anything else , right? I have some understanding questions : (if you know and can expalin) 1. we created a funct...

Go to advanced search