Click here to Skip to main content
15,897,315 members

Comments by Fynn Pfingsten (Top 22 by date)

Fynn Pfingsten 19-Jan-21 14:52pm View    
I found out, that this happens when i import send *

This is a file which is using selenium chromedriver.

I found out that i get a lot of errors from chromedriver.

If i test send.py single it is working.

Do you have an idea for that mistake???
Fynn Pfingsten 22-Dec-20 14:08pm View    
Okay, it is working now. How can I return ajax in h2 tag, in div it is working fine..."
Fynn Pfingsten 7-Jul-20 11:22am View    
I read an article about json so i think i know what it is
Fynn Pfingsten 7-Jul-20 11:19am View    
Thats the code i tryed but it doesnt work, please help me to solve the problem!
Fynn Pfingsten 7-Jul-20 11:18am View    
$json2=
'{"canbus_engine_temp": "", "signal_id": 11354658214, "input_2_voltage": 0.0, "canbus_doors": "", "nr_sat": 18, "signal_strenght": 12, "canbus_fuel_consumption": "", "beacon_id": 356173068452528, "input_6": 0, "input_7": 0, "input_4": 0, "input_5": 0, "input_2": 0, "input_3": 0, "input_0": 0, "input_1": 0, "canbus_total_driving_time": "", "dec_long": 9, "canbus_fuel_level_pr": "", "mileage": 225937.4844, "canbus_lights": "", "canbus_device_state": "", "canbus_total_engine_hours": "", "canbus_fuel_level_lt": "", "canbus_total_fuel_used": "", "dec_lat": 52, "input_1_voltage": 12.7, "speed_km": 0.0, "canbus_info_indicators": "", "geocode_sent_at": "2020/07/06 14:10:47", "added_at": "2020-07-06 14:10:51", "signal_mode": 2, "canbus_fuel_range": "", "canbus_total_idle_fuel_use": "", "signal_type": 4, "canbus_engine_rpm": ""}';

$arr2=json_decode($json2);

foreach($arr2 as $obj2) {
$device_id2 = $obj2->dec_long;
$latest_signal_id2 = $obj2->dec_lat;
echo "$device_id2 = $latest_signal_id2";
}